Check for _STDINT_H in SDL_config_minimal.h
authorRyan C. Gordon <icculus@icculus.org>
Tue, 07 Feb 2012 01:26:00 -0500
changeset 6280 2c2ebbcb1980
parent 6278 e3e5821999f1
child 6281 e46d6f4b469e
Check for _STDINT_H in SDL_config_minimal.h
include/SDL_config_minimal.h
--- a/include/SDL_config_minimal.h	Sat Feb 04 16:39:52 2012 -0500
+++ b/include/SDL_config_minimal.h	Tue Feb 07 01:26:00 2012 -0500
@@ -33,7 +33,7 @@
 #include <stddef.h>
 #include <stdarg.h>
 
-#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
+#if !defined(_STDINT_H_) && !defined(_STDINT_H) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
 typedef unsigned int size_t;
 typedef signed char int8_t;
 typedef unsigned char uint8_t;
@@ -44,7 +44,7 @@
 typedef signed long long int64_t;
 typedef unsigned long long uint64_t;
 typedef unsigned long uintptr_t;
-#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
+#endif /* if (stdint.h isn't available) */
 
 #ifdef __GNUC__
 #define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1