From: Perl 5 Porters Date: Mon, 11 Mar 1996 07:02:14 +0000 (+0000) Subject: Make EMBED the default, unless overridden by -DNO_EMBED X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=820c3be929853f3a88443f652f155f66eddf98ea;p=p5sagit%2Fp5-mst-13.2.git Make EMBED the default, unless overridden by -DNO_EMBED --- diff --git a/embed.pl b/embed.pl index 118b911..e5423dd 100755 --- 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 */