--- generator/hdr/machine.h 2020/03/04 04:46:28 1.1.1.1 +++ generator/hdr/machine.h 2020/03/04 04:46:48 1.1.1.2 @@ -26,7 +26,9 @@ typedef signed long sint8; typedef unsigned long long uint8; typedef signed long long sint8; #else -#error Unable to work out the 8-bit integer names +typedef unsigned char uint8; +typedef signed char sint8; +#warning Unable to work out the 8-bit integer names #endif #if (SIZEOF_UNSIGNED_CHAR == 2) @@ -45,7 +47,9 @@ typedef signed long sint16; typedef unsigned long long uint16; typedef signed long long sint16; #else -#error Unable to work out the 16-bit integer names +typedef unsigned short uint16; +typedef signed short sint16; +#warning Unable to work out the 16-bit integer names #endif #if (SIZEOF_UNSIGNED_CHAR == 4) @@ -64,5 +68,7 @@ typedef signed long sint32; typedef unsigned long long uint32; typedef signed long long sint32; #else -#error Unable to work out the 32-bit integer names +#warning Unable to work out the 32-bit integer names +typedef unsigned int uint32; +typedef signed int sint32; #endif