This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36d1a04
)
Provide default value for $^O in C
author
Perl 5 Porters
<perl5-porters@africa.nicoh.com>
Mon, 11 Mar 1996 07:56:22 +0000
(07:56 +0000)
committer
Charles Bailey
<bailey@genetics.upenn.edu>
Mon, 11 Mar 1996 07:56:22 +0000
(07:56 +0000)
config_h.SH
patch
|
blob
|
blame
|
history
diff --git
a/config_h.SH
b/config_h.SH
index
ad7a69f
..
f4ecea0
100755
(executable)
--- 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...