changeset 3974:42578e98a295 SDL-1.2

Whoops, fixed previous VC6 support patch.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 21 Jun 2007 18:48:13 +0000
parents 5fbd763b1c88
children e85e65aec22f
files include/SDL_config_win32.h src/video/wincommon/SDL_lowvideo.h
diffstat 2 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/include/SDL_config_win32.h	Thu Jun 21 18:20:59 2007 +0000
+++ b/include/SDL_config_win32.h	Thu Jun 21 18:48:13 2007 +0000
@@ -53,10 +53,6 @@
 #if ((_MSC_VER <= 1200) && (!defined(LONG_PTR)))
 #define LONG_PTR LONG
 #endif
-#ifndef GWLP_HINSTANCE
-#define GWLP_HINSTANCE GWL_HINSTANCE
-#endif
-#endif
 #else	/* !__GNUC__ && !_MSC_VER */
 typedef signed char int8_t;
 typedef unsigned char uint8_t;
--- a/src/video/wincommon/SDL_lowvideo.h	Thu Jun 21 18:20:59 2007 +0000
+++ b/src/video/wincommon/SDL_lowvideo.h	Thu Jun 21 18:48:13 2007 +0000
@@ -39,6 +39,9 @@
 #ifndef GWLP_WNDPROC
 #define GWLP_WNDPROC	GWL_WNDPROC
 #endif
+#ifndef GWLP_HINSTANCE
+#define GWLP_HINSTANCE GWL_HINSTANCE
+#endif
 #ifndef GCLP_HICON
 #define GCLP_HICON GCL_HICON
 #endif