DataModels.md

March 1, 2024 ยท View on GitHub

Data Models

Data typeLP32ILP32LP64LLP64ILP64SILP64
char888888
short161616161664
int163232326464
long323264326464
long long64646464
pointer323264646464

LP32

MacroDescription
__fourbyteints__ = 0Defined by MPW and Metrowerks on Motorola 68k targets when configured to use 16-bit int

ILP32

MacroDescription
_ILP32Defined by HP aCC and Sun Studio
__ILP32__Defined by GNU C
__fourbyteints__ = 1Defined by MPW and Metrowerks on Motorola 68k targets when configured to use 32-bit int

LP64

MacroDescription
_LP64Defined by HP aCC and Sun Studio
__LP64__Defined by GNU C