summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafcol.lafayette.edu>1997-02-03 22:37:38 +1200
committerChip Salzenberg <chip@atlantic.net>1997-02-04 17:47:00 +1200
commit24fef2a7cd8a0fa32e8f3397b46c72d088f692bc (patch)
tree1b21c96e9faebcbb1667b0c71048a4394de75f94 /handy.h
parent3841441e5e6bb3f9e314b1a60a20e0690567685f (diff)
downloadperl-24fef2a7cd8a0fa32e8f3397b46c72d088f692bc.tar.gz
Configure updates for intsize and ssizetype
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/handy.h b/handy.h
index 056bf2c8a1..efb4f03541 100644
--- a/handy.h
+++ b/handy.h
@@ -81,6 +81,23 @@
standard library calls (where we pass an I32 and the library is
expecting an int), but the disadvantage that an I32 is not 32 bits.
Andy Dougherty August 1996
+
+ In the future, we may perhaps want to think about something like
+ #if INTSIZE == 4
+ typedef I32 int;
+ #else
+ # if LONGSIZE == 4
+ typedef I32 long;
+ # else
+ # if SHORTSIZE == 4
+ typedef I32 short;
+ # else
+ typedef I32 int;
+ # endif
+ # endif
+ #endif
+ For the moment, these are mentioned here so metaconfig will
+ construct Configure to figure out the various sizes.
*/
typedef char I8;