Fix for linux compile ...

This commit is contained in:
Walter Julius Hennecke 2012-10-08 12:46:02 +02:00
parent b05c3295f2
commit a4db04e5b1

View file

@ -27,8 +27,13 @@
/* This is the minimal configuration that can be used to build SDL */
#ifdef __linux__
#include <stdio.h>
#include <stdint.h>
#endif
#include <stdarg.h>
#ifndef __linux__
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef signed short int16_t;
@ -37,6 +42,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