summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaph Levien <raph.levien@artifex.com>2005-10-20 18:51:13 +0000
committerRaph Levien <raph.levien@artifex.com>2005-10-20 18:51:13 +0000
commit7c0a67954753c81f14ab25fdbc5c4e95bcf2f848 (patch)
treebb0a54900fb777841d133547868ec9961781c023
parentf4b43b3c317147ac1b8eded5d0ab331bf0d3a052 (diff)
downloadghostpdl-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.h8
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 */