]> granicus.if.org Git - neomutt/commitdiff
properly set _XOPEN_SOURCE to 600 (POSIX.1-2004) when detecting th wc*()
authorMichael Elkins <me@mutt.org>
Fri, 6 Aug 2010 14:12:47 +0000 (07:12 -0700)
committerMichael Elkins <me@mutt.org>
Fri, 6 Aug 2010 14:12:47 +0000 (07:12 -0700)
functions

closes #3341

configure.ac

index 65347220e8b5e5a8a0fed199f6a992c054f29727..88383b3e18713d893c2f91da9b1ff93448f48882 100644 (file)
@@ -1249,7 +1249,7 @@ if test "$wc_funcs" != yes && test "$wc_funcs" != no; then
         AC_CACHE_CHECK([for wchar_t functions], mutt_cv_wc_funcs,
                 mutt_cv_wc_funcs=no
                 AC_TRY_LINK([
-#define _XOPEN_SOURCE 1
+#define _XOPEN_SOURCE 600
 #include <stddef.h>
 #include <stdlib.h>
 #ifdef HAVE_WCHAR_H