summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-11-26 15:11:53 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2007-11-26 15:11:53 +0000
commitbe03870116e21b11766edce1326d79f9ce817143 (patch)
tree5de910513ab0aebe39e87b9d4872653c90be8f37
parent16dd6a6da32859fd3a175dfe7b4675e42716f3ad (diff)
downloadmpfr-be03870116e21b11766edce1326d79f9ce817143.tar.gz
tests/tprintf.c: changeset 4996 was incorrect. Fixed.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@5018 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--tests/tprintf.c4
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