From: Richard Levitte Date: Wed, 23 Feb 2000 22:45:22 +0000 (+0000) Subject: Avoid saving any macros starting with a _, since that can create X-Git-Tag: OpenSSL_0_9_5beta1~7 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=9ae2ad23e6692362b943f728568b36b837a0a294;hp=4a26329b4c105a2fa0f10de3ecf644e0d082b056;ds=sidebyside 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. --- diff --git a/Configure b/Configure index 38fb9e901f..cfa06fab59 100755 --- a/Configure +++ b/Configure @@ -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"; }