austenpma / csvfix

Automatically exported from code.google.com/p/csvfix
MIT License
0 stars 0 forks source link

Compilation fails on Linux due to inclusion of windows.h #78

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make lin
2.
3.

What is the expected output? What do you see instead?
g++ -c -Iinc -Iexpat  -o obj/a_env.o src/a_env.cpp 
In file included from src/a_env.cpp:20:0:
inc/a_win.h:12:21: fatal error: windows.h: No such file or directory

g++ -c -Iinc -Iexpat  -o obj/a_db.o src/a_db.cpp 
src/a_db.cpp:11:21: fatal error: windows.h: No such file or directory

What version of the product are you using? On what operating system?
ubuntu 12.04.5
g++ 4.6.3

Please provide any additional information below.

includes of windows.h should be wrapped within #ifdef _WIN32

Original issue reported on code.google.com by tho...@gmail.com on 5 Nov 2014 at 3:11

Nikitore commented 2 years ago

Hi, I have the same error when I try to upload a sketch in arduino. Where can I download the windows.h library? I am a newbie