diff --git a/src/gos/gos_raw32.h b/src/gos/gos_raw32.h index 0fca9223..2937e52b 100644 --- a/src/gos/gos_raw32.h +++ b/src/gos/gos_raw32.h @@ -33,6 +33,13 @@ typedef unsigned char bool_t; #if __STDC_VERSION__ >= 199901L #include +#elif defined(__GNUC__) || defined(__GNUG__) + typedef __INT8_TYPE__ int8_t; + typedef __UINT8_TYPE__ uint8_t; + typedef __INT16_TYPE__ int16_t; + typedef __UINT16_TYPE__ uint16_t; + typedef __INT32_TYPE__ int32_t; + typedef __UINT32_TYPE__ uint32_t; #else typedef signed char int8_t; typedef unsigned char uint8_t;