summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMarco Bodrato <bodrato@mail.dm.unipi.it>2020-11-10 18:39:59 +0100
committerMarco Bodrato <bodrato@mail.dm.unipi.it>2020-11-10 18:39:59 +0100
commit90218c06d13bd99d6b51ec229e82725a12a3ed56 (patch)
treed6904d2156ecf2cdfc92c649fb26d201eb8c7f10 /tests
parent99ea75c7261cf39a89a0824f9703ea1c66c8f953 (diff)
downloadgmp-90218c06d13bd99d6b51ec229e82725a12a3ed56.tar.gz
tests/misc/t-locale.c (nl_langinfo): No redefine on __TERMUX__, spotted by Sanselme and Glisse.
Diffstat (limited to 'tests')
-rw-r--r--tests/misc/t-locale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/t-locale.c b/tests/misc/t-locale.c
index a789309fe..c5b0b3c04 100644
--- a/tests/misc/t-locale.c
+++ b/tests/misc/t-locale.c
@@ -1,6 +1,6 @@
/* Test locale support, or attempt to do so.
-Copyright 2001, 2002, 2011, 2014 Free Software Foundation, Inc.
+Copyright 2001, 2002, 2011, 2014, 2020 Free Software Foundation, Inc.
This file is part of the GNU MP Library test suite.
@@ -57,7 +57,7 @@ localeconv (void)
#endif
/* Replace the libc nl_langinfo with one we can manipulate. */
-#if HAVE_NL_LANGINFO
+#if HAVE_NL_LANGINFO && ! defined __TERMUX__
char *
nl_langinfo (nl_item n)
#if defined __cplusplus && defined __GLIBC__