diff --git a/prepare-headers.sh b/prepare-headers.sh index 2b80532bbb..4e9bc12e52 100644 --- a/prepare-headers.sh +++ b/prepare-headers.sh @@ -132,19 +132,24 @@ cat > $OUT/CGBase.h < +#include /* CGBase contains a hardcoded #ifdef that decides that stdint.h is available in MWERKS > 0x2300. ... otherwise, it contains an incompatible redefinition. */ #pragma push_macro("__MWERKS__") #define __MWERKS__ 0x6666 +#define u_int32_t __cgbase_incompatible_u_int32_t + END_MARKER sed 's/\r$//' < $IN/CGBase.h | tr '\r' '\n' >> $OUT/CGBase.h cat >> $OUT/CGBase.h <