From 7d4187854f0cac9bfc0efbc105cf61a18420612b Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 1 May 2000 05:45:36 +0000 Subject: From 2000-04-28 Andreas Jaeger : Properly check for GCC version number. --- gdb/testsuite/gdb.c++/templates.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/testsuite/gdb.c++') diff --git a/gdb/testsuite/gdb.c++/templates.cc b/gdb/testsuite/gdb.c++/templates.cc index e1d6810..1ef0100 100644 --- a/gdb/testsuite/gdb.c++/templates.cc +++ b/gdb/testsuite/gdb.c++/templates.cc @@ -523,7 +523,7 @@ public: }; T5 t5x(5); -#if !defined(__GNUC__) || (__GNUC__ >= 2 && __GNUC_MINOR__ >= 6) +#if !defined(__GNUC__) || (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 6) template class T5; template class T5; template class T5; -- cgit v1.1