comparison include/SDL_syswm.h @ 5062:e8916fe9cfc8

Fixed bug #925 Changed "win32" to "windows"
author Sam Lantinga <slouken@libsdl.org>
date Thu, 20 Jan 2011 18:04:05 -0800
parents 8b7988f42fcb
children 5680976fb37a
comparison
equal deleted inserted replaced
5061:9e9940eae455 5062:e8916fe9cfc8
52 */ 52 */
53 #ifdef SDL_PROTOTYPES_ONLY 53 #ifdef SDL_PROTOTYPES_ONLY
54 struct SDL_SysWMinfo; 54 struct SDL_SysWMinfo;
55 #else 55 #else
56 56
57 #if defined(SDL_VIDEO_DRIVER_WIN32) 57 #if defined(SDL_VIDEO_DRIVER_WINDOWS)
58 #define WIN32_LEAN_AND_MEAN 58 #define WIN32_LEAN_AND_MEAN
59 #include <windows.h> 59 #include <windows.h>
60 #endif 60 #endif
61 61
62 /* This is the structure for custom window manager events */ 62 /* This is the structure for custom window manager events */
116 { 116 {
117 SDL_version version; 117 SDL_version version;
118 SDL_SYSWM_TYPE subsystem; 118 SDL_SYSWM_TYPE subsystem;
119 union 119 union
120 { 120 {
121 #if defined(SDL_VIDEO_DRIVER_WIN32) 121 #if defined(SDL_VIDEO_DRIVER_WINDOWS)
122 struct { 122 struct {
123 HWND hwnd; /**< The window for the message */ 123 HWND hwnd; /**< The window for the message */
124 UINT msg; /**< The type of message */ 124 UINT msg; /**< The type of message */
125 WPARAM wParam; /**< WORD message parameter */ 125 WPARAM wParam; /**< WORD message parameter */
126 LPARAM lParam; /**< LONG message parameter */ 126 LPARAM lParam; /**< LONG message parameter */
161 { 161 {
162 SDL_version version; 162 SDL_version version;
163 SDL_SYSWM_TYPE subsystem; 163 SDL_SYSWM_TYPE subsystem;
164 union 164 union
165 { 165 {
166 #if defined(SDL_VIDEO_DRIVER_WIN32) 166 #if defined(SDL_VIDEO_DRIVER_WINDOWS)
167 struct 167 struct
168 { 168 {
169 HWND window; /**< The window handle */ 169 HWND window; /**< The window handle */
170 } win; 170 } win;
171 #endif 171 #endif