summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Elkins <me@sigpipe.org>2010-08-06 07:12:47 -0700
committerMichael Elkins <me@sigpipe.org>2010-08-06 07:12:47 -0700
commit814f83d5a2788ed5a0c0b6a2deedb4ed4be2e792 (patch)
treea0b2affe6a0a435485d3c80930f562f60e737f08
parentc1cf4714d516751bf2518402b147013b7e0e103f (diff)
properly set _XOPEN_SOURCE to 600 (POSIX.1-2004) when detecting th wc*()
functions closes #3341
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 65347220..88383b3e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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