summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-03-11 07:56:22 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-03-11 07:56:22 +0000
commit57bf803e17521cb2745e1d6da2bd476a3ccb4d7f (patch)
tree0d19a17ef78926f403ccac97aaa9c0c875a37155 /config_h.SH
parent36d1a04aba0944a262eeb6379155973d3a411995 (diff)
downloadperl-57bf803e17521cb2745e1d6da2bd476a3ccb4d7f.tar.gz
Provide default value for $^O in C
Diffstat (limited to 'config_h.SH')
-rwxr-xr-xconfig_h.SH6
1 files changed, 6 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index ad7a69fbea..f4ecea0faa 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -1332,6 +1332,12 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef!/\*#define!' -e 's!^#un-def!#undef!'
*/
#$d_archlib ARCHLIB_EXP "$archlibexp" /**/
+/* OSNAME:
+ * This symbol contains the name of the operating system, as determined
+ * by Configure.
+ */
+#define OSNAME "$osname" /**/
+
/* BYTEORDER:
* This symbol hold the hexadecimal constant defined in byteorder,
* i.e. 0x1234 or 0x4321, etc...