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
(from parent 1:
01515ea
)
Make EMBED the default, unless overridden by -DNO_EMBED
author
Perl 5 Porters
<perl5-porters@africa.nicoh.com>
Mon, 11 Mar 1996 07:02:14 +0000
(07:02 +0000)
committer
Charles Bailey
<bailey@genetics.upenn.edu>
Mon, 11 Mar 1996 07:02:14 +0000
(07:02 +0000)
embed.pl
patch
|
blob
|
blame
|
history
diff --git
a/embed.pl
b/embed.pl
index
118b911
..
e5423dd
100755
(executable)
--- a/
embed.pl
+++ b/
embed.pl
@@
-7,6
+7,16
@@
print EM <<'END';
/* (Doing namespace management portably in C is really gross.) */
+/* EMBED has no run-time penalty, but helps keep the Perl namespace
+ from colliding with that used by other libraries pulled in
+ by extensions or by embedding perl. Allow a cc -DNO_EMBED
+ override, however, to keep binary compatability with previous
+ versions of perl.
+*/
+#ifndef NO_EMBED
+# define EMBED 1
+#endif
+
#ifdef EMBED
/* globals we need to hide from the world */