Fix for DJGPP build

This commit is contained in:
Stas Degteff 2005-10-27 20:40:10 +00:00
parent cec5394f24
commit f43822b1c2

View File

@ -36,6 +36,7 @@
#ifdef _MSC_VER #ifdef _MSC_VER
#include <windows.h> #include <windows.h>
#include <limits.h> #include <limits.h>
#elif defined(__DJGPP__)
#else #else
#include <stdint.h> #include <stdint.h>
#endif #endif
@ -126,6 +127,16 @@ typedef unsigned int uint32_t;
#endif #endif
#endif //#ifdef _MSC_VER #endif //#ifdef _MSC_VER
#ifdef __DJGPP__
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
#endif
typedef uint8_t byte; typedef uint8_t byte;
typedef uint16_t word; typedef uint16_t word;
typedef uint32_t dword; typedef uint32_t dword;