diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-28 10:38:06 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-28 10:38:06 +0000 |
commit | 3c2c418ed925503520d69d3b17650956b2324143 (patch) | |
tree | b0c178493ed8b96684e2fb2145f262192b61d571 /configure | |
parent | b0a49d3a16d43739c1e01147f1ee10810f46ba3e (diff) | |
download | mandoc-3c2c418ed925503520d69d3b17650956b2324143.tar.gz |
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.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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__ |