summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cdtest
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-cdtest')
-rw-r--r--ld/testsuite/ld-cdtest/cdtest-foo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-cdtest/cdtest-foo.cc b/ld/testsuite/ld-cdtest/cdtest-foo.cc
index d8e5cbe24c..7e6bd75cab 100644
--- a/ld/testsuite/ld-cdtest/cdtest-foo.cc
+++ b/ld/testsuite/ld-cdtest/cdtest-foo.cc
@@ -5,7 +5,7 @@
// We don't use header files, since we only want to see, whether the
// compiler is installed properly.
//
-#if (__GNUG__ == 2)
+#if __GNUG__ >= 2
typedef __SIZE_TYPE__ size_t;
#else
typedef unsigned int size_t;