include/SDL_config_minimal.h
changeset 3220 6290f9bd097d
parent 3219 b91354fa65a2
child 3243 5db962a9a991
equal deleted inserted replaced
3219:b91354fa65a2 3220:6290f9bd097d
    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 #if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
    33 typedef signed char int8_t;
    33 typedef signed char int8_t;
    34 typedef unsigned char uint8_t;
    34 typedef unsigned char uint8_t;
    35 typedef signed short int16_t;
    35 typedef signed short int16_t;
    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 typedef unsigned int size_t;
    39 typedef unsigned int size_t;
    40 typedef unsigned long uintptr_t;
    40 typedef unsigned long uintptr_t;
    41 #endif /* !HAVE_STDINT_H */
    41 #endif /* !_STDINT_H_ && !HAVE_STDINT_H */
    42 
    42 
    43 /* Enable the dummy audio driver (src/audio/dummy/\*.c) */
    43 /* Enable the dummy audio driver (src/audio/dummy/\*.c) */
    44 #define SDL_AUDIO_DRIVER_DUMMY	1
    44 #define SDL_AUDIO_DRIVER_DUMMY	1
    45 
    45 
    46 /* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */
    46 /* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */