summaryrefslogtreecommitdiff
path: root/modules/mbchar
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2005-09-26 13:58:51 +0000
committerBruno Haible <bruno@clisp.org>2005-09-26 13:58:51 +0000
commitbe4b03ff802ce76ee841d09d7546039d5e991127 (patch)
treeb855fd546c6cad1e001d2e97ccfe7f3645f8f998 /modules/mbchar
parentfbf26a89d86387bcf6f801dcd4455e2751c3867e (diff)
downloadgnulib-be4b03ff802ce76ee841d09d7546039d5e991127.tar.gz
Deal with the fact that mbchar.h, mbfile.h, mbiter.h, mbuiter.h can
only be #included conditionally.
Diffstat (limited to 'modules/mbchar')
-rw-r--r--modules/mbchar6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/mbchar b/modules/mbchar
index 150fe47569..5f19321699 100644
--- a/modules/mbchar
+++ b/modules/mbchar
@@ -13,10 +13,12 @@ configure.ac:
gl_MBCHAR
Makefile.am:
-lib_SOURCES += mbchar.h mbchar.c
+lib_SOURCES += mbchar.h
Include:
-"mbchar.h"
+#if HAVE_WCHAR_H && HAVE_WCTYPE_H
+#include "mbchar.h"
+#endif
License:
LGPL