Mercurial > sdl-ios-xcode
comparison include/SDL_opengl.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 | d3baf5ac4e37 |
children | f7b03b6838cb |
comparison
equal
deleted
inserted
replaced
3568:8c72321542f6 | 3569:7f743e9b0b5b |
---|---|
4445 #include <stdint.h> | 4445 #include <stdint.h> |
4446 #elif defined(__UNIXOS2__) || defined(__SOL64__) | 4446 #elif defined(__UNIXOS2__) || defined(__SOL64__) |
4447 typedef long int int32_t; | 4447 typedef long int int32_t; |
4448 typedef long long int int64_t; | 4448 typedef long long int int64_t; |
4449 typedef unsigned long long int uint64_t; | 4449 typedef unsigned long long int uint64_t; |
4450 #elif defined(_WIN32) && defined(__GNUC__) | 4450 #elif defined(_WIN32) && (defined(__GNUC__) || defined(__WATCOMC__)) |
4451 #include <stdint.h> | 4451 #include <stdint.h> |
4452 #elif defined(_WIN32) | 4452 #elif defined(_WIN32) |
4453 typedef __int32 int32_t; | 4453 typedef __int32 int32_t; |
4454 typedef __int64 int64_t; | 4454 typedef __int64 int64_t; |
4455 typedef unsigned __int64 uint64_t; | 4455 typedef unsigned __int64 uint64_t; |