Use _WIN32 rather than WIN32 (same for WIN64)
http://msdn.microsoft.com/en-us/library/b0084kay(v=vs.80).aspx only mentions the _ prefixed variable. gcc will always define the _ prefixed variable, like Visual Studio. The prefixless one is defined in some language standards, e.g. gnu99 but not c99.
Showing with 401 additions and 401 deletions