# HG changeset patch # User Ryan C. Gordon # Date 1182451693 0 # Node ID 42578e98a295e85dc1af9a494f9cc7fdc33bfcdf # Parent 5fbd763b1c8814f891bd076a303ec3d15a974306 Whoops, fixed previous VC6 support patch. diff -r 5fbd763b1c88 -r 42578e98a295 include/SDL_config_win32.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; diff -r 5fbd763b1c88 -r 42578e98a295 src/video/wincommon/SDL_lowvideo.h --- 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