Mercurial > sdl-ios-xcode
comparison include/SDL_config_iphoneos.h @ 2435:775e061e9440 gsoc2008_iphone
changed #ifndef statment to _SDL_config_iphoneos_h instead of _SDL_config_minimal_h.
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Fri, 15 Aug 2008 18:22:12 +0000 |
parents | 826210ef2c10 |
children | d7b41796713e |
comparison
equal
deleted
inserted
replaced
2434:12d3b55ebbfc | 2435:775e061e9440 |
---|---|
18 | 18 |
19 Sam Lantinga | 19 Sam Lantinga |
20 slouken@libsdl.org | 20 slouken@libsdl.org |
21 */ | 21 */ |
22 | 22 |
23 #ifndef _SDL_config_minimal_h | 23 #ifndef _SDL_config_iphoneos_h |
24 #define _SDL_config_minimal_h | 24 #define _SDL_config_iphoneos_h |
25 | 25 |
26 #include "SDL_platform.h" | 26 #include "SDL_platform.h" |
27 #include "stdio.h" // contains def for size_t | 27 #include "stdio.h" // contains def for size_t |
28 | 28 |
29 /* This is the minimal configuration that can be used to build SDL */ | 29 /* This is the minimal configuration that can be used to build SDL */ |
36 typedef unsigned short uint16_t; | 36 typedef unsigned short uint16_t; |
37 typedef signed int int32_t; | 37 typedef signed int int32_t; |
38 typedef unsigned int uint32_t; | 38 typedef unsigned int uint32_t; |
39 | 39 |
40 #ifndef size_t | 40 #ifndef size_t |
41 //typedef unsigned int size_t; | 41 typedef unsigned int size_t; |
42 #endif | 42 #endif |
43 | 43 |
44 typedef unsigned long uintptr_t; | 44 typedef unsigned long uintptr_t; |
45 | 45 |
46 /* enable keyboard support */ | 46 /* enable keyboard support */ |
90 | 90 |
91 /* Enable various threading systems */ | 91 /* Enable various threading systems */ |
92 #define SDL_THREAD_PTHREAD 1 | 92 #define SDL_THREAD_PTHREAD 1 |
93 #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1 | 93 #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1 |
94 | 94 |
95 #endif /* _SDL_config_iPhone_h */ | |
96 | |
97 #define HAVE_ALLOCA_H 1 | 95 #define HAVE_ALLOCA_H 1 |
98 #define HAVE_SYS_TYPES_H 1 | 96 #define HAVE_SYS_TYPES_H 1 |
99 #define HAVE_STDIO_H 1 | 97 #define HAVE_STDIO_H 1 |
100 #define STDC_HEADERS 1 | 98 #define STDC_HEADERS 1 |
101 #define HAVE_STRING_H 1 | 99 #define HAVE_STRING_H 1 |
143 #define HAVE_SNPRINTF 1 | 141 #define HAVE_SNPRINTF 1 |
144 #define HAVE_VSNPRINTF 1 | 142 #define HAVE_VSNPRINTF 1 |
145 #define HAVE_SIGACTION 1 | 143 #define HAVE_SIGACTION 1 |
146 #define HAVE_SETJMP 1 | 144 #define HAVE_SETJMP 1 |
147 #define HAVE_NANOSLEEP 1 | 145 #define HAVE_NANOSLEEP 1 |
146 | |
147 #endif /* _SDL_config_iphoneos_h */ |