--- np2/win9x/compiler.h 2003/10/16 17:58:39 1.1 +++ np2/win9x/compiler.h 2003/10/21 16:27:54 1.5 @@ -4,18 +4,22 @@ #define BYTESEX_LITTLE -#if 1 -#ifndef __cplusplus -#define DWORD xxx -#define WORD xxx -#endif -#endif +#ifndef __GNUC__ typedef short SINT16; typedef unsigned short UINT16; typedef int SINT32; typedef unsigned int UINT32; +#else + +#include +typedef short SINT16; +typedef unsigned short UINT16; +typedef int SINT32; + +#endif + #include "common.h" #include "milstr.h" #include "_memory.h" @@ -30,6 +34,7 @@ typedef unsigned int UINT32; #define LABEL __declspec(naked) #define RELEASE(x) if (x) {(x)->Release(); (x) = NULL;} +#define OPNGENX86 #define VERMOUTH_LIB #define PARTSCALL __fastcall #define CPUCALL __fastcall @@ -47,3 +52,5 @@ typedef unsigned int UINT32; #define SUPPORT_32BPP #define SUPPORT_NORMALDISP +#define SOUNDRESERVE 20 +