From f43822b1c2eb01a9d0100a660f6433dab5c997e7 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Thu, 27 Oct 2005 20:40:10 +0000 Subject: [PATCH] Fix for DJGPP build --- goldlib/gall/gdefs.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/goldlib/gall/gdefs.h b/goldlib/gall/gdefs.h index c3ad996..9569629 100644 --- a/goldlib/gall/gdefs.h +++ b/goldlib/gall/gdefs.h @@ -36,6 +36,7 @@ #ifdef _MSC_VER #include #include +#elif defined(__DJGPP__) #else #include #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;