Avoid saving any macros starting with a _, since that can create
[openssl.git] / Configure
index 38fb9e9..cfa06fa 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -557,7 +557,7 @@ else
        my $def;
        foreach $def (split ' ',$thread_cflag)
                {
        my $def;
        foreach $def (split ' ',$thread_cflag)
                {
-               if ($def =~ s/^-D//)
+               if ($def =~ s/^-D// && $def !~ /^_/)
                        {
                        $thread_defines .= "#define $def\n";
                        }
                        {
                        $thread_defines .= "#define $def\n";
                        }