Check for _STDINT_H in SDL_config_minimal.h
This commit is contained in:
parent
84a5ad6d06
commit
067b1ec8a2
1 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdarg.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 unsigned int size_t;
|
||||||
typedef signed char int8_t;
|
typedef signed char int8_t;
|
||||||
typedef unsigned char uint8_t;
|
typedef unsigned char uint8_t;
|
||||||
|
@ -44,7 +44,7 @@ typedef unsigned int uint32_t;
|
||||||
typedef signed long long int64_t;
|
typedef signed long long int64_t;
|
||||||
typedef unsigned long long uint64_t;
|
typedef unsigned long long uint64_t;
|
||||||
typedef unsigned long uintptr_t;
|
typedef unsigned long uintptr_t;
|
||||||
#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
|
#endif /* if (stdint.h isn't available) */
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
|
#define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue