Skip to content

Commit 4137956

Browse files
committed
fix detection of mbstate_t with clang
AC_TRY_COMPILE expexts a function body
1 parent 1db720c commit 4137956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ AC_TRY_COMPILE([
575575
# include <wchar.h>
576576
#endif
577577
],[
578-
int __tmp__() { mbstate_t a; }
578+
mbstate_t a;
579579
],[
580580
ac_cv_type_mbstate_t=yes
581581
],[

0 commit comments

Comments
 (0)