mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-03 09:30:19 +00:00
PowerPC: use long int for int32_t, to match Apple's SInt32 and the m68k target
This commit is contained in:
parent
252a10a671
commit
878a21d741
@ -2785,7 +2785,7 @@ powerpcle-*-eabi*)
|
||||
use_gcc_stdint=wrap
|
||||
;;
|
||||
powerpc-apple-macos*)
|
||||
tm_file="${tm_file} rs6000/xcoff.h rs6000/aix-stdint.h rs6000/macos.h"
|
||||
tm_file="${tm_file} rs6000/xcoff.h rs6000/macos.h"
|
||||
tmake_file="rs6000/t-macos"
|
||||
extra_options="${extra_options} rs6000/aix64.opt"
|
||||
use_collect2=yes
|
||||
|
@ -255,3 +255,38 @@
|
||||
fprintf ((STREAM), "void %s() {\n\t%s();\n}\n", aix_shared_fininame, (FUNC))
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#define SIG_ATOMIC_TYPE "int"
|
||||
|
||||
#define INT8_TYPE "signed char"
|
||||
#define INT16_TYPE "short int"
|
||||
#define INT32_TYPE "long int"
|
||||
#define INT64_TYPE "long long int"
|
||||
#define UINT8_TYPE "unsigned char"
|
||||
#define UINT16_TYPE "short unsigned int"
|
||||
#define UINT32_TYPE "long unsigned int"
|
||||
#define UINT64_TYPE "long long unsigned int"
|
||||
|
||||
#define INT_LEAST8_TYPE "signed char"
|
||||
#define INT_LEAST16_TYPE "short int"
|
||||
#define INT_LEAST32_TYPE "long int"
|
||||
#define INT_LEAST64_TYPE "long long int"
|
||||
#define UINT_LEAST8_TYPE "unsigned char"
|
||||
#define UINT_LEAST16_TYPE "short unsigned int"
|
||||
#define UINT_LEAST32_TYPE "long unsigned int"
|
||||
#define UINT_LEAST64_TYPE "long long unsigned int"
|
||||
|
||||
#define INT_FAST8_TYPE "signed char"
|
||||
#define INT_FAST16_TYPE "short int"
|
||||
#define INT_FAST32_TYPE "long int"
|
||||
#define INT_FAST64_TYPE "long long int"
|
||||
#define UINT_FAST8_TYPE "unsigned char"
|
||||
#define UINT_FAST16_TYPE "short unsigned int"
|
||||
#define UINT_FAST32_TYPE "long unsigned int"
|
||||
#define UINT_FAST64_TYPE "long long unsigned int"
|
||||
|
||||
#define INTPTR_TYPE "long int"
|
||||
#define UINTPTR_TYPE "long unsigned int"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user