Fix for DJGPP build
This commit is contained in:
parent
cec5394f24
commit
f43822b1c2
@ -36,6 +36,7 @@
|
||||
#ifdef _MSC_VER
|
||||
#include <windows.h>
|
||||
#include <limits.h>
|
||||
#elif defined(__DJGPP__)
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
@ -126,6 +127,16 @@ typedef unsigned int uint32_t;
|
||||
#endif
|
||||
#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 uint16_t word;
|
||||
typedef uint32_t dword;
|
||||
|
Reference in New Issue
Block a user