diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2020-02-07 12:33:56 +0000 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2020-02-07 12:36:41 +0000 |
commit | 0e9f7fc153d92cbed9a4f1fcf60778176888625d (patch) | |
tree | 6328cbb7b79b944f32f851380136ae58895edc73 /arch | |
parent | e193b5dc14a6029b2648a5712c154499d819186f (diff) | |
download | ghostpdl-0e9f7fc153d92cbed9a4f1fcf60778176888625d.tar.gz |
Bug 702100: Followup: Fix arch.h for OS-X to include size_t changes.
Our fix for Bug 702100 meant we were using newly defined size_t
limits from arch.h. While these were generated correctly for
things using arch.h, they were missed out of one of the
pregenerated files in the arch directory, namely the OS-X one.
Add those back here.
Thanks to Peter Skarpetis for reporting this.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/osx-x86-x86_64-ppc-gcc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/osx-x86-x86_64-ppc-gcc.h b/arch/osx-x86-x86_64-ppc-gcc.h index db72c6018..6166f8971 100644 --- a/arch/osx-x86-x86_64-ppc-gcc.h +++ b/arch/osx-x86-x86_64-ppc-gcc.h @@ -7,6 +7,7 @@ #define ARCH_ALIGN_SHORT_MOD 2 #define ARCH_ALIGN_INT_MOD 4 #define ARCH_ALIGN_LONG_MOD 4 +#define ARCH_ALIGN_SIZE_T_MOD 4 #define ARCH_ALIGN_PTR_MOD 4 #define ARCH_ALIGN_FLOAT_MOD 4 #define ARCH_ALIGN_DOUBLE_MOD 4 @@ -17,7 +18,9 @@ #define ARCH_LOG2_SIZEOF_SHORT 1 #define ARCH_LOG2_SIZEOF_INT 2 #define ARCH_LOG2_SIZEOF_LONG 2 +#define ARCH_LOG2_SIZEOF_SIZE_T 2 #define ARCH_LOG2_SIZEOF_LONG_LONG 3 +#define ARCH_SIZEOF_SIZET 4 #ifndef ARCH_SIZEOF_GX_COLOR_INDEX #define ARCH_SIZEOF_GX_COLOR_INDEX 8 @@ -35,6 +38,7 @@ #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) +#define ARCH_MAX_SIZE_T ((size_t)~0L + (size_t)0) /* ---------------- Miscellaneous ---------------- */ @@ -53,6 +57,7 @@ #define ARCH_ALIGN_SHORT_MOD 2 #define ARCH_ALIGN_INT_MOD 4 #define ARCH_ALIGN_LONG_MOD 8 +#define ARCH_ALIGN_SIZE_T_MOD 8 #define ARCH_ALIGN_PTR_MOD 8 #define ARCH_ALIGN_FLOAT_MOD 4 #define ARCH_ALIGN_DOUBLE_MOD 8 @@ -63,7 +68,9 @@ #define ARCH_LOG2_SIZEOF_SHORT 1 #define ARCH_LOG2_SIZEOF_INT 2 #define ARCH_LOG2_SIZEOF_LONG 3 +#define ARCH_LOG2_SIZEOF_SIZE_T 3 #define ARCH_LOG2_SIZEOF_LONG_LONG 3 +#define ARCH_SIZEOF_SIZE_T 8 #ifndef ARCH_SIZEOF_GX_COLOR_INDEX #define ARCH_SIZEOF_GX_COLOR_INDEX 8 @@ -81,6 +88,7 @@ #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) +#define ARCH_MAX_SIZE_T ((size_t)~0L + (size_t)0) /* ---------------- Miscellaneous ---------------- */ @@ -96,6 +104,7 @@ #define ARCH_ALIGN_SHORT_MOD 2 #define ARCH_ALIGN_INT_MOD 4 #define ARCH_ALIGN_LONG_MOD 4 +#define ARCH_ALIGN_SIZE_T_MOD 4 #define ARCH_ALIGN_PTR_MOD 4 #define ARCH_ALIGN_FLOAT_MOD 4 #define ARCH_ALIGN_DOUBLE_MOD 4 @@ -106,7 +115,9 @@ #define ARCH_LOG2_SIZEOF_SHORT 1 #define ARCH_LOG2_SIZEOF_INT 2 #define ARCH_LOG2_SIZEOF_LONG 2 +#define ARCH_LOG2_SIZEOF_SIZE_T 2 #define ARCH_LOG2_SIZEOF_LONG_LONG 3 +#define ARCH_SIZEOF_SIZE_T 4 #ifndef ARCH_SIZEOF_GX_COLOR_INDEX #define ARCH_SIZEOF_GX_COLOR_INDEX 8 @@ -124,6 +135,7 @@ #define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) #define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) #define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) +#define ARCH_MAX_SIZE_T ((size_t)~0L + (size_t)0) /* ---------------- Miscellaneous ---------------- */ |