Commit 58cf6a16 by Ian Lance Taylor

Include <stdio.h> unconditionally in <assert.h> if stderr is needed

From-SVN: r13212
parent f486afaa
...@@ -2348,9 +2348,7 @@ if [ -r ${LIB}/$file ]; then ...@@ -2348,9 +2348,7 @@ if [ -r ${LIB}/$file ]; then
true true
else else
echo "Fixing $file (needs stdio.h)" echo "Fixing $file (needs stdio.h)"
echo '#ifdef __cplusplus echo '#include <stdio.h>' >>${LIB}/$file
#include <stdio.h>
#endif' >>${LIB}/$file
fi fi
fi fi
if grep 'exit *(' ${LIB}/$file >/dev/null 2>/dev/null || if grep 'exit *(' ${LIB}/$file >/dev/null 2>/dev/null ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment