Mercurial > sdl-ios-xcode
comparison include/SDL_config_win32.h @ 3569:7f743e9b0b5b
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.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 15 Dec 2009 20:14:50 +0000 |
parents | 5db962a9a991 |
children | c5925cd41955 |
comparison
equal
deleted
inserted
replaced
3568:8c72321542f6 | 3569:7f743e9b0b5b |
---|---|
26 #include "SDL_platform.h" | 26 #include "SDL_platform.h" |
27 | 27 |
28 /* This is a set of defines to configure the SDL features */ | 28 /* This is a set of defines to configure the SDL features */ |
29 | 29 |
30 #if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H) | 30 #if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H) |
31 #if defined(__GNUC__) || defined(__DMC__) | 31 #if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__) |
32 #define HAVE_STDINT_H 1 | 32 #define HAVE_STDINT_H 1 |
33 #elif defined(_MSC_VER) | 33 #elif defined(_MSC_VER) |
34 typedef signed __int8 int8_t; | 34 typedef signed __int8 int8_t; |
35 typedef unsigned __int8 uint8_t; | 35 typedef unsigned __int8 uint8_t; |
36 typedef signed __int16 int16_t; | 36 typedef signed __int16 int16_t; |