summaryrefslogtreecommitdiff
path: root/plan9
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 /plan9
parent237ba8c901b9e495de1d3d16000e954b0e59bbcb (diff)
downloadperl-82488b82be2b77ad90f0f35bb297881e6feeba60.tar.gz
Update Plan 9, Win32, VMS configs with $shortsize and $longsize
Diffstat (limited to 'plan9')
-rw-r--r--plan9/config.plan914
-rw-r--r--plan9/genconfig.pl2
2 files changed, 14 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'