Added __WINDOWS__ to reflect both 32 and 64-bit windows platforms

This commit is contained in:
Sam Lantinga 2013-10-20 20:41:30 -07:00
parent d710399671
commit 04e170ceb7
2 changed files with 5 additions and 6 deletions

View file

@ -121,8 +121,12 @@
#define __SOLARIS__ 1
#endif
#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)
#undef __WINDOWS__
#define __WINDOWS__ 1
#endif
#if defined(__WINDOWS__)
#undef __WIN32__
#define __WIN32__ 1
#define __WIN32__ 1
#endif
#if defined(__PSP__)
#undef __PSP__