aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 535973e7ee..517fc98a9a 100755
--- a/configure
+++ b/configure
@@ -7416,6 +7416,9 @@ fi
CXXFLAGS="-I.. $CFLAGS -D__STDC_LIMIT_MACROS"
+cat > $TMPC << EOF
+int main() { return 0; }
+EOF
if cc_check -Wdeclaration-after-statement ; then
CFLAGS="-Wdeclaration-after-statement $CFLAGS"
fi