diff options
-rw-r--r-- | tests/tprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tprintf.c b/tests/tprintf.c index e53b52d5b..e3d5e5f42 100644 --- a/tests/tprintf.c +++ b/tests/tprintf.c @@ -356,7 +356,7 @@ main (int argc, char **argv) tests_start_mpfr (); -#ifdef HAVE_LOCALE_H && HAVE_SETLOCALE +#if defined(HAVE_LOCALE_H) && defined(HAVE_SETLOCALE) /* currently, we just check with 'C' locale */ locale = setlocale (LC_NUMERIC, "C"); #endif @@ -366,7 +366,7 @@ main (int argc, char **argv) floating_point (); mixed (); -#ifdef HAVE_LOCALE_H && HAVE_SETLOCALE +#if defined(HAVE_LOCALE_H) && defined(HAVE_SETLOCALE) setlocale (LC_NUMERIC, locale); #endif |