summaryrefslogtreecommitdiff
path: root/modules/wctype-h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2016-12-19 21:12:54 +0100
committerBruno Haible <bruno@clisp.org>2016-12-19 21:12:54 +0100
commit5a400b3f5a1f5483dbfd75d38bdb7080218a063b (patch)
tree956443d930c30b39a4ae2d4f8c287fbea51239f2 /modules/wctype-h
parent571a9a5a3d1e53e0b93885711fcf6910f347f062 (diff)
downloadgnulib-5a400b3f5a1f5483dbfd75d38bdb7080218a063b.tar.gz
stdint: Fix WINT_MAX to match the gnulib provided wint_t on minw.
* m4/wint_t.m4 (gt_TYPE_WINT_T): Define GNULIB_OVERRIDES_WINT_T here. * m4/stdint.m4 (gl_STDINT_H): Don't define GNULIB_OVERRIDES_WINT_T. Invoke gt_TYPE_WINT_T instead. (gl_STDINT_TYPE_PROPERTIES): Test GNULIB_OVERRIDES_WINT_T. * modules/stdint (Files): Add m4/wint_t.m4. * modules/wchar (Makefile.am): Substitute GNULIB_OVERRIDES_WINT_T. * modules/wctype-h (Makefile.am): Likewise. * lib/wchar.in.h (wint_t): Override if GNULIB_OVERRIDES_WINT_T is set, not only on MSVC. * lib/wctype.in.h (wint_t): Likewise.
Diffstat (limited to 'modules/wctype-h')
-rw-r--r--modules/wctype-h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/wctype-h b/modules/wctype-h
index b2cbdcde6b..adfb218f62 100644
--- a/modules/wctype-h
+++ b/modules/wctype-h
@@ -31,6 +31,7 @@ wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
-e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
+ -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \
-e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
-e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
-e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \