Replace WIN32 with _WIN32. The latest is defined by the compiler and doesn't need to be defined externally.