Avoid saving any macros starting with a _, since that can create

trouble if header files are included in some "impropper" order.
It's much better if the application programmer has to specify on his
or her own if _REENTRANT shall be defined and when.
This commit is contained in:
Richard Levitte 2000-02-23 22:45:22 +00:00
parent 4a26329b4c
commit 9ae2ad23e6

View File

@ -557,7 +557,7 @@ else
my $def;
foreach $def (split ' ',$thread_cflag)
{
if ($def =~ s/^-D//)
if ($def =~ s/^-D// && $def !~ /^_/)
{
$thread_defines .= "#define $def\n";
}