Minor hack to SDL headers for building on Linux.

This commit is contained in:
Ryan C. Gordon 2012-04-11 04:51:58 +00:00
parent a07b8587f1
commit f3a61afd09

View file

@ -27,8 +27,11 @@
/* This is the minimal configuration that can be used to build SDL */
#include <stdio.h>
#include <stdint.h>
#include <stdarg.h>
#if 0
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef signed short int16_t;
@ -37,6 +40,7 @@ typedef signed int int32_t;
typedef unsigned int uint32_t;
typedef unsigned int size_t;
typedef unsigned long uintptr_t;
#endif
/* Enable the dummy audio driver (src/audio/dummy/\*.c) */
#define SDL_AUDIO_DRIVER_DUMMY 1