summaryrefslogtreecommitdiff
path: root/stdlib/tst-strtod.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2012-03-03 22:54:18 +0100
committerMarek Polacek <polacek@redhat.com>2012-03-03 22:57:00 +0100
commitbc957d531c91b16b135e3f3d81506864166997f0 (patch)
tree96dcb21d0ec966caacd0d92b98c00458693ccb0c /stdlib/tst-strtod.c
parent6358490d55d0606bf5f2d48ed8b8f26d77364998 (diff)
Remove oldish __GNUC_PREREQ.
Diffstat (limited to 'stdlib/tst-strtod.c')
-rw-r--r--stdlib/tst-strtod.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/stdlib/tst-strtod.c b/stdlib/tst-strtod.c
index 9be7835e7f..25bee78f2e 100644
--- a/stdlib/tst-strtod.c
+++ b/stdlib/tst-strtod.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,1996-2001,2003,2009,2011 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -64,12 +64,9 @@ static const struct ltest tests[] =
{ "0x0.8p-1022",
1.11253692925360069154511635866620203210960799023116591527666e-308,
'\0', ERANGE },
-#if __GNUC_PREREQ(2,96)
- /* For older GCC release HUGE_VAL is not a constant. */
{ "Inf", HUGE_VAL, '\0', 0 },
{ "-Inf", -HUGE_VAL, '\0', 0 },
{ "+InFiNiTy", HUGE_VAL, '\0', 0 },
-#endif
{ "0x80000Ap-23", 0x80000Ap-23, '\0', 0 },
{ "1e-324", 0, '\0', ERANGE },
{ NULL, 0, '\0', 0 }