diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2016-01-01 21:35:36 +0100 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2016-01-01 21:35:36 +0100 |
commit | fddf5d0068a8a008ea0f6baf09747083507f0ef2 (patch) | |
tree | f28ff1090f4e178c9287c58be2d4c77a26954c65 /tests/misc | |
parent | 8db41666222273da2a1998ffbaa081d78471ecc5 (diff) | |
download | gmp-fddf5d0068a8a008ea0f6baf09747083507f0ef2.tar.gz |
tests/: Do not redefine localeconv when mingw is used.
Diffstat (limited to 'tests/misc')
-rw-r--r-- | tests/misc/t-locale.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/misc/t-locale.c b/tests/misc/t-locale.c index 252fc2bd6..61c8cb73d 100644 --- a/tests/misc/t-locale.c +++ b/tests/misc/t-locale.c @@ -41,18 +41,10 @@ the GNU MP Library test suite. If not, see https://www.gnu.org/licenses/. */ #include "gmp-impl.h" #include "tests.h" -#ifdef __MINGW32__ -int -main (void) -{ - exit (0); -} -#else - const char *decimal_point; /* Replace the libc localeconv with one we can manipulate. */ -#if HAVE_LOCALECONV +#if HAVE_LOCALECONV && ! defined __MINGW32__ struct lconv * localeconv (void) #if defined __cplusplus && defined __GLIBC__ @@ -204,4 +196,3 @@ main (void) tests_memory_end (); exit (0); } -#endif |