summaryrefslogtreecommitdiff
path: root/plan9
diff options
context:
space:
mode:
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'