diff include/SDL_config_win32.h @ 3219:b91354fa65a2

Don't redefine types if HAVE_STDINT_H is defined
author Sam Lantinga <slouken@libsdl.org>
date Sun, 02 Aug 2009 12:45:20 +0000
parents 77d6336711fc
children 6290f9bd097d
line wrap: on
line diff
--- a/include/SDL_config_win32.h	Thu Jul 30 14:53:57 2009 +0000
+++ b/include/SDL_config_win32.h	Sun Aug 02 12:45:20 2009 +0000
@@ -27,6 +27,7 @@
 
 /* This is a set of defines to configure the SDL features */
 
+#ifndef HAVE_STDINT_H
 #if defined(__GNUC__) || defined(__DMC__)
 #define HAVE_STDINT_H	1
 #elif defined(_MSC_VER)
@@ -68,6 +69,7 @@
 #endif
 typedef unsigned int uintptr_t;
 #endif /* __GNUC__ || _MSC_VER */
+#endif /* !HAVE_STDINT_H */
 
 #ifdef _WIN64
 # define SIZEOF_VOIDP 8