diff --git a/goldlib/gall/gdefs.h b/goldlib/gall/gdefs.h index 15020c5..1e134c7 100644 --- a/goldlib/gall/gdefs.h +++ b/goldlib/gall/gdefs.h @@ -29,8 +29,9 @@ #define __goldall_h // ------------------------------------------------------------------ - +#ifdef __cplusplus #include +#endif #include #ifdef _MSC_VER #include @@ -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;