comparison src/video/win32/SDL_win32video.h @ 4893:b2e434e0553b

Fixed all MinGW problems (except libraries not added to build yet). Added SDL_msctf.h for MinGW. Added a few casts to fix warnings on MinGW.
author Daniel Wyatt <Daniel.Wyatt@gmail.com>
date Sun, 19 Sep 2010 16:19:22 -0400
parents 9e1f6d3fb870
children 37576cdf6751
comparison
equal deleted inserted replaced
4892:9e1f6d3fb870 4893:b2e434e0553b
34 #undef WINVER 34 #undef WINVER
35 #define WINVER 0x500 /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices() */ 35 #define WINVER 0x500 /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices() */
36 36
37 #include <windows.h> 37 #include <windows.h>
38 38
39 #ifndef __GNUC__
39 #include <msctf.h> 40 #include <msctf.h>
41 #else
42 #include "SDL_msctf.h"
43 #endif
44
40 #include <imm.h> 45 #include <imm.h>
41 46
42 #if SDL_VIDEO_RENDER_D3D 47 #if SDL_VIDEO_RENDER_D3D
43 //#include <d3d9.h> 48 //#include <d3d9.h>
44 #define D3D_DEBUG_INFO 49 #define D3D_DEBUG_INFO