summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChip Salzenberg <chip@perl.com>1997-02-17 17:58:59 +1200
committerChip Salzenberg <chip@atlantic.net>1997-02-18 13:22:00 +1200
commit82488b82be2b77ad90f0f35bb297881e6feeba60 (patch)
treee3f5abc327c208f002e8a6f59035cd0f0d4954ce
parent237ba8c901b9e495de1d3d16000e954b0e59bbcb (diff)
downloadperl-82488b82be2b77ad90f0f35bb297881e6feeba60.tar.gz
Update Plan 9, Win32, VMS configs with $shortsize and $longsize
-rw-r--r--plan9/config.plan914
-rw-r--r--plan9/genconfig.pl2
-rw-r--r--vms/genconfig.pl2
-rw-r--r--win32/config.w322
4 files changed, 18 insertions, 2 deletions
diff --git a/plan9/config.plan9 b/plan9/config.plan9
index a900df34a9..8b6b89ff8d 100644
--- a/plan9/config.plan9
+++ b/plan9/config.plan9
@@ -1511,10 +1511,20 @@
#undef I_VARARGS /**/
/* INTSIZE:
- * This symbol contains the size of an int, so that the C preprocessor
- * can make decisions based on it.
+ * This symbol contains the value of sizeof(int) so that the C
+ * preprocessor can make decisions based on it.
+ */
+/* LONGSIZE:
+ * This symbol contains the value of sizeof(long) so that the C
+ * preprocessor can make decisions based on it.
+ */
+/* SHORTSIZE:
+ * This symbol contains the value of sizeof(short) so that the C
+ * preprocessor can make decisions based on it.
*/
#define INTSIZE 4 /**/
+#define LONGSIZE 4 /**/
+#define SHORTSIZE 2 /**/
/* Free_t:
* This variable contains the return type of free(). It is usually
diff --git a/plan9/genconfig.pl b/plan9/genconfig.pl
index c23bd885b6..458c4c3ee9 100644
--- a/plan9/genconfig.pl
+++ b/plan9/genconfig.pl
@@ -82,6 +82,8 @@ eunicefix=':'
hint='none'
hintfile=''
intsize='4'
+longsize='4'
+shortsize='2'
shrplib='define'
usemymalloc='n'
usevfork='true'
diff --git a/vms/genconfig.pl b/vms/genconfig.pl
index 22bf016b03..6c3582216d 100644
--- a/vms/genconfig.pl
+++ b/vms/genconfig.pl
@@ -79,6 +79,8 @@ eunicefix=':'
hint='none'
hintfile=''
intsize='4'
+longsize='4'
+shortsize='2'
alignbytes='8'
shrplib='define'
usemymalloc='n'
diff --git a/win32/config.w32 b/win32/config.w32
index 953aba24c6..7525eeb252 100644
--- a/win32/config.w32
+++ b/win32/config.w32
@@ -358,6 +358,7 @@ ln='ln'
lns='/usr/bin/ln -s'
locincpth='/usr/local/include /opt/local/include /usr/gnu/include /opt/gnu/include /usr/GNU/include /opt/GNU/include'
loclibpth='/usr/local/lib /opt/local/lib /usr/gnu/lib /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib'
+longsize='4'
lp=''
lpr=''
ls='ls'
@@ -426,6 +427,7 @@ sendmail='blat'
sh=''
shar=''
shmattype='char *'
+shortsize='2'
shrpdir='none'
sig_num='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 6 20 23 '
signal_t='void'