summaryrefslogtreecommitdiff
path: root/include/SDL_config_minimal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/SDL_config_minimal.h')
-rw-r--r--include/SDL_config_minimal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/SDL_config_minimal.h b/include/SDL_config_minimal.h
index 197db64c..7fef1644 100644
--- a/include/SDL_config_minimal.h
+++ b/include/SDL_config_minimal.h
@@ -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 unsigned int uint32_t;
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