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;