Skip to content

Commit 42b4cbb

Browse files
committed
Added __WINDOWS__ to reflect both 32 and 64-bit windows platforms
1 parent 4c0d6df commit 42b4cbb

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

TODO.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
Future work roadmap:
22
* http://wiki.libsdl.org/moin.cgi/Roadmap
33

4-
* See why windows are being rearranged. Is the shield window not up?
5-
* Add __WINDOWS__ in addition to __WIN32__
6-
* Write test for fullscreen gamma to check X11 colormap handling
7-
84
* Check 1.2 revisions:
95
3554 - Need to resolve semantics for locking keys on different platforms
106
4874 - Do we want screen rotation? At what level?
117
4974 - Windows file code needs to convert UTF-8 to Unicode, but we don't need to tap dance for Windows 95/98
12-
4484, 4485 - Verify that SDL's Windows keyboard handling works correctly
138
4865 - See if this is still needed (mouse coordinate clamping)
149
4866 - See if this is still needed (blocking window repositioning)
1510

include/SDL_platform.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,12 @@
121121
#define __SOLARIS__ 1
122122
#endif
123123
#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__)
124+
#undef __WINDOWS__
125+
#define __WINDOWS__ 1
126+
#endif
127+
#if defined(__WINDOWS__)
124128
#undef __WIN32__
125-
#define __WIN32__ 1
129+
#define __WIN32__ 1
126130
#endif
127131
#if defined(__PSP__)
128132
#undef __PSP__

0 commit comments

Comments
 (0)