diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-19 15:48:58 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-19 15:48:58 +0000 |
commit | 0008cc060a28b9a61118020527d85bb229e288f7 (patch) | |
tree | b068290fa1bd3bc2dbf9014c15513de237355767 /term_ascii.c | |
parent | dd0cac76b8c2d4067ba6cb936ca1f43f6bebeadb (diff) | |
download | mandoc-0008cc060a28b9a61118020527d85bb229e288f7.tar.gz mandoc-0008cc060a28b9a61118020527d85bb229e288f7.tar.zst mandoc-0008cc060a28b9a61118020527d85bb229e288f7.zip |
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.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/term_ascii.c b/term_ascii.c index 7619907e..3b4ca241 100644 --- a/term_ascii.c +++ b/term_ascii.c @@ -1,4 +1,4 @@ -/* $Id: term_ascii.c,v 1.15 2011/05/17 22:32:45 kristaps Exp $ */ +/* $Id: term_ascii.c,v 1.16 2011/05/19 15:48:58 kristaps Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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 *, |