From 13a468c1e025f5fbb958d0b9bb9e8f3ae1e680ed Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 28 Aug 2014 10:38:06 +0000 Subject: On Linux, wcwidth() needs _XOPEN_SOURCE, or just _GNU_SOURCE for simplicity. Besides, signedness of wchar_t and wint_t may differ, it i only guaranteed that each wchar_t can be represented as a wint_t. A problem report by Daniel Levai reminded me to fix this. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index baa05ad4..0fb841cf 100755 --- a/configure +++ b/configure @@ -253,7 +253,7 @@ cat << __HEREDOC__ #define MANDOC_CONFIG_H #if defined(__linux__) || defined(__MINT__) -#define _GNU_SOURCE /* getsubopt(), strcasestr(), strptime() */ +#define _GNU_SOURCE /* See test-*.c what needs this. */ #endif __HEREDOC__ -- cgit v1.2.3-56-ge451