comparison include/SDL_config_win32.h @ 1895:c121d94672cb

SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jul 2006 21:04:37 +0000
parents bc0d965a3d54
children f1828a500391
comparison
equal deleted inserted replaced
1894:c69cee13dd76 1895:c121d94672cb
28 /* This is a set of defines to configure the SDL features */ 28 /* This is a set of defines to configure the SDL features */
29 29
30 #ifdef __GNUC__ 30 #ifdef __GNUC__
31 #define HAVE_STDINT_H 1 31 #define HAVE_STDINT_H 1
32 #elif defined(_MSC_VER) 32 #elif defined(_MSC_VER)
33 typedef signed __int8 int8_t; 33 typedef signed __int8 int8_t;
34 typedef unsigned __int8 uint8_t; 34 typedef unsigned __int8 uint8_t;
35 typedef signed __int16 int16_t; 35 typedef signed __int16 int16_t;
36 typedef unsigned __int16 uint16_t; 36 typedef unsigned __int16 uint16_t;
37 typedef signed __int32 int32_t; 37 typedef signed __int32 int32_t;
38 typedef unsigned __int32 uint32_t; 38 typedef unsigned __int32 uint32_t;
39 typedef signed __int64 int64_t; 39 typedef signed __int64 int64_t;
40 typedef unsigned __int64 uint64_t; 40 typedef unsigned __int64 uint64_t;
41 #ifndef _UINTPTR_T_DEFINED 41 #ifndef _UINTPTR_T_DEFINED
42 #ifdef _WIN64 42 #ifdef _WIN64
43 typedef unsigned __int64 uintptr_t; 43 typedef unsigned __int64 uintptr_t;
44 #else 44 #else
45 typedef unsigned int uintptr_t; 45 typedef unsigned int uintptr_t;
46 #endif 46 #endif
47 #define _UINTPTR_T_DEFINED 47 #define _UINTPTR_T_DEFINED
48 #endif 48 #endif
49 #else /* !__GNUC__ && !_MSC_VER */ 49 #else /* !__GNUC__ && !_MSC_VER */
50 typedef signed char int8_t; 50 typedef signed char int8_t;
51 typedef unsigned char uint8_t; 51 typedef unsigned char uint8_t;
52 typedef signed short int16_t; 52 typedef signed short int16_t;
53 typedef unsigned short uint16_t; 53 typedef unsigned short uint16_t;
54 typedef signed int int32_t; 54 typedef signed int int32_t;
148 #else 148 #else
149 #define SDL_TIMER_WIN32 1 149 #define SDL_TIMER_WIN32 1
150 #endif 150 #endif
151 151
152 /* Enable various video drivers */ 152 /* Enable various video drivers */
153 #ifdef _WIN32_WCE
154 #define SDL_VIDEO_DRIVER_GAPI 1
155 #endif
156 #ifndef _WIN32_WCE
157 #define SDL_VIDEO_DRIVER_DDRAW 1
158 #endif
159 #define SDL_VIDEO_DRIVER_DUMMY 1 153 #define SDL_VIDEO_DRIVER_DUMMY 1
160 #define SDL_VIDEO_DRIVER_WINDIB 1 154 #define SDL_VIDEO_DRIVER_WIN32 1
155
156 #define SDL_VIDEO_RENDER_D3D 1
157 #define SDL_VIDEO_RENDER_GDI 1
161 158
162 /* Enable OpenGL support */ 159 /* Enable OpenGL support */
163 #ifndef _WIN32_WCE 160 #ifndef _WIN32_WCE
164 #define SDL_VIDEO_OPENGL 1 161 #define SDL_VIDEO_OPENGL 1
165 #define SDL_VIDEO_OPENGL_WGL 1 162 #define SDL_VIDEO_OPENGL_WGL 1
163 #define SDL_VIDEO_RENDER_OGL 1
166 #endif 164 #endif
167 165
168 /* Enable assembly routines (Win64 doesn't have inline asm) */ 166 /* Enable assembly routines (Win64 doesn't have inline asm) */
169 #ifndef _WIN64 167 #ifndef _WIN64
170 #define SDL_ASSEMBLY_ROUTINES 1 168 #define SDL_ASSEMBLY_ROUTINES 1