mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
d3f6c126b6
re: https://github.com/Unidata/netcdf-c/pull/2003#issuecomment-847637871 Turns out that mingw defines both _WIN32 and also defines getopt. This means that this test: ```` #ifdef _WIN32 #include "XGetopt.h" #endif ```` fails on this error: ```` ../include/XGetopt.h:38:24: error: conflicting types for 'getopt' ```` Fix is to replace ```` #ifdef _WIN32 with #if defined(_WIN32) && !defined(__MINGW32__) ```` |
||
---|---|---|
.. | ||
bigf1.cdl | ||
bigf2.cdl | ||
bigf3.cdl | ||
bigr1.cdl | ||
bigr2.cdl | ||
bigr3.cdl | ||
c0.cdl | ||
CMakeLists.txt | ||
depend | ||
escapes.c | ||
generic.h | ||
genlib.c | ||
genlib.h | ||
getfill.c | ||
init.c | ||
lfs-tests | ||
load.c | ||
main_cpp.cpp | ||
main.c | ||
Makefile.am | ||
ncgen3.1 | ||
ncgen.h | ||
ncgen.l | ||
ncgen.y | ||
ncgenl.c | ||
ncgeny.c | ||
ncgeny.h | ||
run_nc4_tests.sh | ||
run_tests2.sh | ||
run_tests.sh |