Whoops, fixed previous VC6 support patch. SDL-1.2
authorRyan C. Gordon
Thu, 21 Jun 2007 18:48:13 +0000
branchSDL-1.2
changeset 397442578e98a295
parent 3973 5fbd763b1c88
child 3975 e85e65aec22f
Whoops, fixed previous VC6 support patch.
include/SDL_config_win32.h
src/video/wincommon/SDL_lowvideo.h
     1.1 --- a/include/SDL_config_win32.h	Thu Jun 21 18:20:59 2007 +0000
     1.2 +++ b/include/SDL_config_win32.h	Thu Jun 21 18:48:13 2007 +0000
     1.3 @@ -53,10 +53,6 @@
     1.4  #if ((_MSC_VER <= 1200) && (!defined(LONG_PTR)))
     1.5  #define LONG_PTR LONG
     1.6  #endif
     1.7 -#ifndef GWLP_HINSTANCE
     1.8 -#define GWLP_HINSTANCE GWL_HINSTANCE
     1.9 -#endif
    1.10 -#endif
    1.11  #else	/* !__GNUC__ && !_MSC_VER */
    1.12  typedef signed char int8_t;
    1.13  typedef unsigned char uint8_t;
     2.1 --- a/src/video/wincommon/SDL_lowvideo.h	Thu Jun 21 18:20:59 2007 +0000
     2.2 +++ b/src/video/wincommon/SDL_lowvideo.h	Thu Jun 21 18:48:13 2007 +0000
     2.3 @@ -39,6 +39,9 @@
     2.4  #ifndef GWLP_WNDPROC
     2.5  #define GWLP_WNDPROC	GWL_WNDPROC
     2.6  #endif
     2.7 +#ifndef GWLP_HINSTANCE
     2.8 +#define GWLP_HINSTANCE GWL_HINSTANCE
     2.9 +#endif
    2.10  #ifndef GCLP_HICON
    2.11  #define GCLP_HICON GCL_HICON
    2.12  #endif