aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 03dc06971a..6b4e12e1ec 100644
--- a/configure.in
+++ b/configure.in
@@ -285,7 +285,7 @@ else
unset rb_c_werror_flag
fi
ac_c_werror_flag=yes
-for mac in "x __attribute__ (($1))" "__declspec($1) x" x; do
+for mac in "__attribute__ (($1)) x" "x __attribute__ (($1))" "__declspec($1) x" x; do
AC_TRY_COMPILE(
[#define ]attrib[(x) $mac
]attrib[(void conftest_attribute_check(void));], [],