Don't redefine types if HAVE_STDINT_H is defined

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403717
This commit is contained in:
Sam Lantinga 2009-08-02 12:45:20 +00:00
parent 8a68fef797
commit 72e444bb08
6 changed files with 14 additions and 1 deletions

View file

@ -27,6 +27,7 @@
/* This is a set of defines to configure the SDL features */
#ifndef HAVE_STDINT_H
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef signed short int16_t;
@ -37,6 +38,7 @@ typedef unsigned int size_t;
typedef unsigned long uintptr_t;
typedef signed long long int64_t;
typedef unsigned long long uint64_t;
#endif /* !HAVE_STDINT_H */
#define SIZEOF_VOIDP 4
#define SDL_HAS_64BIT_TYPE 1