diff options
author | Raph Levien <raph.levien@artifex.com> | 2005-10-20 18:51:13 +0000 |
---|---|---|
committer | Raph Levien <raph.levien@artifex.com> | 2005-10-20 18:51:13 +0000 |
commit | 7c0a67954753c81f14ab25fdbc5c4e95bcf2f848 (patch) | |
tree | bb0a54900fb777841d133547868ec9961781c023 | |
parent | f4b43b3c317147ac1b8eded5d0ab331bf0d3a052 (diff) | |
download | ghostpdl-7c0a67954753c81f14ab25fdbc5c4e95bcf2f848.tar.gz |
Fixes broken compile on amd64 platforms (see bug #688047 for details).
This patch should be safe on all platforms with 32-bit longs, and is
my best guess as to the right thing to do on Tru64 (where long is 64
bits).
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@6159 a1074d23-0009-0410-80fe-cf8c14f379e6
-rw-r--r-- | gs/src/tttypes.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gs/src/tttypes.h b/gs/src/tttypes.h index b7e70b90c..c5ebd6e55 100644 --- a/gs/src/tttypes.h +++ b/gs/src/tttypes.h @@ -117,13 +117,7 @@ #define NULL (void*)0 #endif -#if ARCH_SIZEOF_PTR == SIZEOF_LONG - typedef long* PStorage; -#elif ARCH_SIZEOF_PTR == SIZEOF_INT - typedef int* PStorage; -#else -#error "Size of pointer type is not equal to either long or int" -#endif + typedef Long* PStorage; /* Rounding mode constants */ |