问题
I am using cygwin64 and including the MinGW64/x86_64-w64-mingw32/include folder in my project. However I am getting the following error when I run make on the project : /cygdrive/c/MinGW64/x86_64-w64-mingw32/include/sys/types.h:10:2: error: #error Only Win32 target is supported!
I would think that that since the types.h file appears to be in a 64 bit folder it would support the 64 bit system, so what am I misunderstanding in this system.
The code in types.h that it gets caught on is as follows
#ifndef _WIN32
#error Only Win32 target is supported!
#endif
来源:https://stackoverflow.com/questions/18703526/error-only-win32-target-is-supported