summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-03-04 08:10:13 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-03-04 08:10:13 +0000
commit56134491e0cc3397acc2753bfd2cc4141920324e (patch)
treee08ba6d88cd4381943aac79b70245321e40213e5 /config_h.SH
parent40ff80b2d4aff4df2eda7ee2fd46ea30c84b7ae3 (diff)
parentf5b4fb40cc8e1ea1f70785ee88001ed238c73219 (diff)
downloadperl-56134491e0cc3397acc2753bfd2cc4141920324e.tar.gz
Integrate from mainperl.
p4raw-id: //depot/cfgperl@3077
Diffstat (limited to 'config_h.SH')
-rw-r--r--config_h.SH16
1 files changed, 16 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index 06b7c8c688..ba2a558995 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -1092,6 +1092,22 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
#define MEM_ALIGNBYTES $alignbytes
#endif
+/* INTSIZE:
+ * 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 $intsize /**/
+#define LONGSIZE $longsize /**/
+#define SHORTSIZE $shortsize /**/
+
/* BYTEORDER:
* This symbol holds the hexadecimal constant defined in byteorder,
* i.e. 0x1234 or 0x4321, etc...