Whoops, fixed previous VC6 support patch. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Thu, 21 Jun 2007 18:48:13 +0000
branchSDL-1.2
changeset 3974 42578e98a295
parent 3973 5fbd763b1c88
child 3975 e85e65aec22f
Whoops, fixed previous VC6 support patch.
include/SDL_config_win32.h
src/video/wincommon/SDL_lowvideo.h
--- 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