Added __WINDOWS__ to reflect both 32 and 64-bit windows platforms
authorSam Lantinga <slouken@libsdl.org>
Sun, 20 Oct 2013 20:41:30 -0700
changeset 7856cb37776926ad
parent 7855 a022d3d782d2
child 7857 6388f5229bb7
Added __WINDOWS__ to reflect both 32 and 64-bit windows platforms
TODO.txt
include/SDL_platform.h
     1.1 --- a/TODO.txt	Sun Oct 20 23:38:19 2013 -0400
     1.2 +++ b/TODO.txt	Sun Oct 20 20:41:30 2013 -0700
     1.3 @@ -1,15 +1,10 @@
     1.4  Future work roadmap:
     1.5   * http://wiki.libsdl.org/moin.cgi/Roadmap
     1.6  
     1.7 - * See why windows are being rearranged.  Is the shield window not up?
     1.8 - * Add __WINDOWS__ in addition to __WIN32__
     1.9 - * Write test for fullscreen gamma to check X11 colormap handling
    1.10 -
    1.11   * Check 1.2 revisions:
    1.12  	3554 - Need to resolve semantics for locking keys on different platforms
    1.13  	4874 - Do we want screen rotation?  At what level?
    1.14  	4974 - Windows file code needs to convert UTF-8 to Unicode, but we don't need to tap dance for Windows 95/98
    1.15 -	4484, 4485 - Verify that SDL's Windows keyboard handling works correctly
    1.16  	4865 - See if this is still needed (mouse coordinate clamping)
    1.17  	4866 - See if this is still needed (blocking window repositioning)
    1.18  
     2.1 --- a/include/SDL_platform.h	Sun Oct 20 23:38:19 2013 -0400
     2.2 +++ b/include/SDL_platform.h	Sun Oct 20 20:41:30 2013 -0700
     2.3 @@ -121,8 +121,12 @@
     2.4  #define __SOLARIS__ 1
     2.5  #endif
     2.6  #if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)
     2.7 +#undef __WINDOWS__
     2.8 +#define __WINDOWS__   1
     2.9 +#endif
    2.10 +#if defined(__WINDOWS__)
    2.11  #undef __WIN32__
    2.12 -#define __WIN32__   1
    2.13 +#define __WIN32__ 1
    2.14  #endif
    2.15  #if defined(__PSP__)
    2.16  #undef __PSP__