summaryrefslogtreecommitdiffstats
path: root/term_ascii.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-05-19 15:48:58 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-05-19 15:48:58 +0000
commit7be7cbd1dc64ae5c85e45f167c53f1f0de60ed83 (patch)
treefbe8ca37aacec8e244cb0cf4fd7b7dc9720dc930 /term_ascii.c
parente685d00aebe92d15022994ddc4ae0fc90fe64bee (diff)
downloadmandoc-7be7cbd1dc64ae5c85e45f167c53f1f0de60ed83.tar.gz
It seems that __STDC_ISO_10646__ isn't defined even where it can be
defined, so remove the check for it and leave it up to people compiling the software (DOWNSTREAM) to take care of this. This will eventually need to be fixed up with a proper non-10646 converter and so on, but this is a simple start. While here, strengthen then language in the Makefile to this effect.
Diffstat (limited to 'term_ascii.c')
-rw-r--r--term_ascii.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/term_ascii.c b/term_ascii.c
index a59b91f0..af1fade9 100644
--- a/term_ascii.c
+++ b/term_ascii.c
@@ -37,9 +37,16 @@
#include "term.h"
#include "main.h"
+/*
+ * Sadly, this doesn't seem to be defined on systems even when they
+ * support it. For the time being, remove it and let those compiling
+ * the software decide for themselves what to use.
+ */
+#if 0
#if ! defined(__STDC_ISO_10646__)
# undef USE_WCHAR
#endif
+#endif
static struct termp *ascii_init(enum termenc, char *);
static double ascii_hspan(const struct termp *,