Reputation:
Apparently newer versions of gcc on Cygwin no longer define _WIN32
. Is there any easy way to get it back?
Upvotes: 0
Views: 1149
Reputation: 119467
GCC allows you to define macros on the command line. The syntax would be
-D _WIN32
You could add this to CFLAGS
in your makefile, or something similar.
Upvotes: 1