summaryrefslogtreecommitdiff
path: root/modules/inttypes-incomplete
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-05-13 23:23:47 +0200
committerBruno Haible <bruno@clisp.org>2018-05-13 23:23:47 +0200
commit88d119b2a44243255dbcd720e296393986d16551 (patch)
treee24cb7cb2d0be8f177376919c4028c0bc78d289f /modules/inttypes-incomplete
parent01c26e100f5fff39c431c019874c3562e69ebdf1 (diff)
downloadgnulib-88d119b2a44243255dbcd720e296393986d16551.tar.gz
imaxdiv: Fix compilation error on Android.
* m4/imaxdiv.m4 (gl_FUNC_IMAXDIV): Set HAVE_IMAXDIV_T to 0 if imaxdiv_t is not defined. * lib/inttypes.in.h (imaxdiv_t): Define if HAVE_IMAXDIV_T, not HAVE_DECL_IMAXDIV, is 0. * m4/inttypes.m4 (gl_INTTYPES_H_DEFAULTS): Initialize HAVE_IMAXDIV_T. * modules/inttypes-incomplete (Makefile.am): Substitute HAVE_IMAXDIV_T.
Diffstat (limited to 'modules/inttypes-incomplete')
-rw-r--r--modules/inttypes-incomplete1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/inttypes-incomplete b/modules/inttypes-incomplete
index 8c29a29a18..394d48fc14 100644
--- a/modules/inttypes-incomplete
+++ b/modules/inttypes-incomplete
@@ -42,6 +42,7 @@ inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_U
-e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
-e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
-e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
+ -e 's/@''HAVE_IMAXDIV_T''@/$(HAVE_IMAXDIV_T)/g' \
-e 's/@''REPLACE_STRTOIMAX''@/$(REPLACE_STRTOIMAX)/g' \
-e 's/@''REPLACE_STRTOUMAX''@/$(REPLACE_STRTOUMAX)/g' \
-e 's/@''INT32_MAX_LT_INTMAX_MAX''@/$(INT32_MAX_LT_INTMAX_MAX)/g' \