comparison include/SDL_config_win32.h @ 1465:8dfa9a6d69a5

Updated WinCE support by Dmitry (with some tweaks) Converted the disk audio driver to SDL_RWops for portability
author Sam Lantinga <slouken@libsdl.org>
date Sat, 04 Mar 2006 08:24:35 +0000
parents 5f52867ba65c
children d47d96962fcc
comparison
equal deleted inserted replaced
1464:af30090c0330 1465:8dfa9a6d69a5
24 #define _SDL_config_win32_h 24 #define _SDL_config_win32_h
25 25
26 /* This is a set of defines to configure the SDL features */ 26 /* This is a set of defines to configure the SDL features */
27 27
28 #ifdef _MSC_VER 28 #ifdef _MSC_VER
29 typedef __int8 int8_t; 29 typedef signed __int8 int8_t;
30 typedef unsigned __int8 uint8_t; 30 typedef unsigned __int8 uint8_t;
31 typedef __int16 int16_t; 31 typedef signed __int16 int16_t;
32 typedef unsigned __int16 uint16_t; 32 typedef unsigned __int16 uint16_t;
33 typedef __int32 int32_t; 33 typedef signed __int32 int32_t;
34 typedef unsigned __int32 uint32_t; 34 typedef unsigned __int32 uint32_t;
35 typedef __int64 int64_t; 35 typedef signed __int64 int64_t;
36 typedef unsigned __int64 uint64_t; 36 typedef unsigned __int64 uint64_t;
37 #if _MSC_VER <= 1200 37 #ifndef _UINTPTR_T_DEFINED
38 #ifdef _WIN64
39 typedef unsigned __int64 uintptr_t;
40 #else
41 typedef unsigned int uintptr_t;
42 #endif
43 #define _UINTPTR_T_DEFINED
44 #endif
45 #else
46 typedef signed char int8_t;
47 typedef unsigned char uint8_t;
48 typedef signed short int16_t;
49 typedef unsigned short uint16_t;
50 typedef signed int int32_t;
51 typedef unsigned int uint32_t;
52 typedef signed long long int64_t;
53 typedef unsigned long long uint64_t;
54 typedef unsigned int size_t;
38 typedef unsigned long uintptr_t; 55 typedef unsigned long uintptr_t;
39 #endif 56 #endif /* _MSC_VER */
40 #endif
41 #define SDL_HAS_64BIT_TYPE 1 57 #define SDL_HAS_64BIT_TYPE 1
42 58
43 /* Useful headers */ 59 /* Useful headers */
44 #define HAVE_STDARG_H 1 60 #define HAVE_STDARG_H 1
45 #define HAVE_STDDEF_H 1 61 #define HAVE_STDDEF_H 1
77 #define SDL_VIDEO_DRIVER_GAPI 1 93 #define SDL_VIDEO_DRIVER_GAPI 1
78 #endif 94 #endif
79 #define SDL_VIDEO_DRIVER_WINDIB 1 95 #define SDL_VIDEO_DRIVER_WINDIB 1
80 96
81 /* Enable OpenGL support */ 97 /* Enable OpenGL support */
98 #ifndef _WIN32_WCE
82 #define SDL_VIDEO_OPENGL 1 99 #define SDL_VIDEO_OPENGL 1
83 #define SDL_VIDEO_OPENGL_WGL 1 100 #define SDL_VIDEO_OPENGL_WGL 1
101 #endif
84 102
85 /* Enable assembly routines */ 103 /* Enable assembly routines */
86 #define SDL_ASSEMBLY_ROUTINES 1 104 #define SDL_ASSEMBLY_ROUTINES 1
87 105
88 #endif /* _SDL_config_win32_h */ 106 #endif /* _SDL_config_win32_h */