From 181a148e9e11a68f457c371de3ceab417d5c025b Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 21 Jun 2007 18:48:13 +0000 Subject: [PATCH] Whoops, fixed previous VC6 support patch. --- include/SDL_config_win32.h | 4 ---- src/video/wincommon/SDL_lowvideo.h | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/SDL_config_win32.h b/include/SDL_config_win32.h index ea4204f71..cfb44d2a0 100644 --- a/include/SDL_config_win32.h +++ b/include/SDL_config_win32.h @@ -53,10 +53,6 @@ typedef unsigned int uintptr_t; #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 --git a/src/video/wincommon/SDL_lowvideo.h b/src/video/wincommon/SDL_lowvideo.h index eb8d9581b..f8ea258fa 100644 --- a/src/video/wincommon/SDL_lowvideo.h +++ b/src/video/wincommon/SDL_lowvideo.h @@ -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