Better check which includes #define used in stdint.h

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403718
This commit is contained in:
Sam Lantinga 2009-08-02 12:54:59 +00:00
parent 72e444bb08
commit 51273d8424
7 changed files with 15 additions and 12 deletions

View file

@ -25,7 +25,7 @@
#include "SDL_platform.h"
#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;
@ -33,7 +33,7 @@ typedef unsigned short uint16_t;
typedef signed int int32_t;
typedef unsigned int uint32_t;
typedef unsigned long uintptr_t;
#endif /* !HAVE_STDINT_H */
#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
#define SDL_HAS_64BIT_TYPE 1