提交 9ae2ad23 编写于 作者: R Richard Levitte

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.
上级 4a26329b
......@@ -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";
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册