summaryrefslogtreecommitdiff
path: root/op.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-10-28 03:32:32 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-28 03:32:32 +0000
commitd52413bedb04151817ef65ddea35db5f6e936b6f (patch)
treeed159a637ab67ab44f82682de91227019192b8a2 /op.h
parentca40fe497003abfacd4354515838e1c3b79d0ceb (diff)
downloadperl-d52413bedb04151817ef65ddea35db5f6e936b6f.tar.gz
Explicitly expect only 4 or 8 bytes of PTRSIZE.
No final #else #error because we do not seem to be using #error? p4raw-id: //depot/perl@12723
Diffstat (limited to 'op.h')
-rw-r--r--op.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/op.h b/op.h
index 6a4d0db51b..415514d687 100644
--- a/op.h
+++ b/op.h
@@ -23,10 +23,12 @@
* which may or may not check number of children).
*/
-#if PTRSIZE == 8
-typedef U64TYPE PADOFFSET;
-#else
+#if PTRSIZE == 4
typedef U32TYPE PADOFFSET;
+#else
+# if PTRSIZE == 8
+typedef U64TYPE PADOFFSET;
+# endif
#endif
#define NOT_IN_PAD ((PADOFFSET) -1)