include/SDL_config_os2.h
changeset 3220 6290f9bd097d
parent 3219 b91354fa65a2
child 3243 5db962a9a991
--- a/include/SDL_config_os2.h	Sun Aug 02 12:45:20 2009 +0000
+++ b/include/SDL_config_os2.h	Sun Aug 02 12:54:59 2009 +0000
@@ -27,7 +27,7 @@
 
 /* This is a set of defines to configure the SDL features */
 
-#ifndef HAVE_STDINT_H
+#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
 typedef signed char int8_t;
 typedef unsigned char uint8_t;
 typedef signed short int16_t;
@@ -38,7 +38,7 @@
 typedef unsigned long uintptr_t;
 typedef signed long long int64_t;
 typedef unsigned long long uint64_t;
-#endif /* !HAVE_STDINT_H */
+#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
 
 #define SIZEOF_VOIDP 4
 #define SDL_HAS_64BIT_TYPE	1