Mercurial > sdl-ios-xcode
comparison include/SDL_config_minimal.h @ 3219:b91354fa65a2
Don't redefine types if HAVE_STDINT_H is defined
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 02 Aug 2009 12:45:20 +0000 |
parents | 99210400e8b9 |
children | 6290f9bd097d |
comparison
equal
deleted
inserted
replaced
3218:81773a1eac83 | 3219:b91354fa65a2 |
---|---|
27 | 27 |
28 /* This is the minimal configuration that can be used to build SDL */ | 28 /* This is the minimal configuration that can be used to build SDL */ |
29 | 29 |
30 #include <stdarg.h> | 30 #include <stdarg.h> |
31 | 31 |
32 #ifndef HAVE_STDINT_H | |
32 typedef signed char int8_t; | 33 typedef signed char int8_t; |
33 typedef unsigned char uint8_t; | 34 typedef unsigned char uint8_t; |
34 typedef signed short int16_t; | 35 typedef signed short int16_t; |
35 typedef unsigned short uint16_t; | 36 typedef unsigned short uint16_t; |
36 typedef signed int int32_t; | 37 typedef signed int int32_t; |
37 typedef unsigned int uint32_t; | 38 typedef unsigned int uint32_t; |
38 typedef unsigned int size_t; | 39 typedef unsigned int size_t; |
39 typedef unsigned long uintptr_t; | 40 typedef unsigned long uintptr_t; |
41 #endif /* !HAVE_STDINT_H */ | |
40 | 42 |
41 /* Enable the dummy audio driver (src/audio/dummy/\*.c) */ | 43 /* Enable the dummy audio driver (src/audio/dummy/\*.c) */ |
42 #define SDL_AUDIO_DRIVER_DUMMY 1 | 44 #define SDL_AUDIO_DRIVER_DUMMY 1 |
43 | 45 |
44 /* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */ | 46 /* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */ |