diff options
author | Bruno Haible <bruno@clisp.org> | 2016-12-17 18:46:30 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2016-12-17 18:47:12 +0100 |
commit | 92cb6641a6f2127fda8a084444637c3d4e394f4c (patch) | |
tree | f13f277730a864a283fcd7326330c0caedce29c3 /modules/stdint | |
parent | 6cd915a22d859ab4f375337de8ca185eca45dc0a (diff) | |
download | gnulib-92cb6641a6f2127fda8a084444637c3d4e394f4c.tar.gz |
stdint: Fix WINT_MAX to match the gnulib provided wint_t on MSVC.
* m4/stdint.m4 (gl_STDINT_H): Define GNULIB_OVERRIDES_WINT_T.
* modules/stdint (Makefile.am): Substitute GNULIB_OVERRIDES_WINT_T.
* lib/stdint.in.h [GNULIB_OVERRIDES_WINT_T]: Redefine WINT_MIN and
WINT_MAX.
Diffstat (limited to 'modules/stdint')
-rw-r--r-- | modules/stdint | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/stdint b/modules/stdint index a12c5dfc16..75ce257922 100644 --- a/modules/stdint +++ b/modules/stdint @@ -58,6 +58,7 @@ stdint.h: stdint.in.h $(top_builddir)/config.status -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ + -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ < $(srcdir)/stdint.in.h; \ } > $@-t && \ mv $@-t $@ |