Digital Mars has stdint.h, so use the header on Windows with that compiler. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Mon, 12 Feb 2007 11:45:18 +0000
branchSDL-1.2
changeset 3911 ba3abfa20e18
parent 3910 af4d584e0edb
child 3912 e7d2858670c1
Digital Mars has stdint.h, so use the header on Windows with that compiler. Fixes Bugzilla #376.
include/SDL_config_win32.h
--- a/include/SDL_config_win32.h	Mon Feb 12 10:52:10 2007 +0000
+++ b/include/SDL_config_win32.h	Mon Feb 12 11:45:18 2007 +0000
@@ -27,7 +27,7 @@
 
 /* This is a set of defines to configure the SDL features */
 
-#ifdef __GNUC__
+#if defined(__GNUC__) || defined(__DMC__)
 #define HAVE_STDINT_H	1
 #elif defined(_MSC_VER)
 typedef signed __int8		int8_t;