Fixed bug #815
Daniele Forghieri 2009-10-12 02:57:03 PDT Patch to use stdlib.h with Open Watcom Open Watcom 1.8 has <stdlib.h> so instead of patch the single part when stdlib features are used we use directly the include file as with GCC. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404318
This commit is contained in:
parent
ddbeadf670
commit
abec9e44fa
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
|||
/* This is a set of defines to configure the SDL features */
|
||||
|
||||
#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
|
||||
#if defined(__GNUC__) || defined(__DMC__)
|
||||
#if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__)
|
||||
#define HAVE_STDINT_H 1
|
||||
#elif defined(_MSC_VER)
|
||||
typedef signed __int8 int8_t;
|
||||
|
|
|
@ -4447,7 +4447,7 @@ typedef unsigned long long int uint64_t;
|
|||
typedef long int int32_t;
|
||||
typedef long long int int64_t;
|
||||
typedef unsigned long long int uint64_t;
|
||||
#elif defined(_WIN32) && defined(__GNUC__)
|
||||
#elif defined(_WIN32) && (defined(__GNUC__) || defined(__WATCOMC__))
|
||||
#include <stdint.h>
|
||||
#elif defined(_WIN32)
|
||||
typedef __int32 int32_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue