aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_raw32.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gos/gos_raw32.h')
-rw-r--r--src/gos/gos_raw32.h7
1 files changed, 7 insertions, 0 deletions
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 <stdint.h>
+#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;