[quake3-commits] r2241 - trunk/code/SDL12/include

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Apr 11 00:51:59 EDT 2012


Author: icculus
Date: 2012-04-11 00:51:58 -0400 (Wed, 11 Apr 2012)
New Revision: 2241

Modified:
   trunk/code/SDL12/include/SDL_config_minimal.h
Log:
Minor hack to SDL headers for building on Linux.


Modified: trunk/code/SDL12/include/SDL_config_minimal.h
===================================================================
--- trunk/code/SDL12/include/SDL_config_minimal.h	2012-04-10 06:44:04 UTC (rev 2240)
+++ trunk/code/SDL12/include/SDL_config_minimal.h	2012-04-11 04:51:58 UTC (rev 2241)
@@ -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 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



More information about the quake3-commits mailing list