Fix GNU C build

This commit is contained in:
Stas Degteff 2005-10-23 13:33:46 +00:00
parent d5eab1626b
commit 7d4f2d56fa

View File

@ -29,8 +29,9 @@
#define __goldall_h
// ------------------------------------------------------------------
#ifdef __cplusplus
#include <cstddef>
#endif
#include <gcmpall.h>
#ifdef _MSC_VER
#include <windows.h>
@ -109,25 +110,25 @@
typedef signed char int8_t;
typedef unsigned char uint8_t;
#else
#error Don't know how to define 8 bit integers
#error Dont know how to define 8 bit integers
#endif
#if (USHRT_MAX == 0xFFFF)
typedef signed short int16_t;
typedef unsigned short uint16_t;
#else
#error Don't know how to define 16 bit integers
#error Dont know how to define 16 bit integers
#endif
#if (UINT_MAX == 0xFFFFFFFF)
typedef signed int int32_t;
typedef unsigned int uint32_t;
#else
#error Don't know how to define 32 bit integers
#error Dont know how to define 32 bit integers
#endif
#endif //#ifdef _MSC_VER
typedef uint8_t byte;
typedef uint16_t word;
typedef uint32_t dword;
#endif //#ifdef _MSC_VER
typedef unsigned int uint;