diff options
Diffstat (limited to 'gdb/testsuite/lib/compiler.cc')
-rw-r--r-- | gdb/testsuite/lib/compiler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/lib/compiler.cc b/gdb/testsuite/lib/compiler.cc index aa35c75..5cb00f6 100644 --- a/gdb/testsuite/lib/compiler.cc +++ b/gdb/testsuite/lib/compiler.cc @@ -13,7 +13,7 @@ definition made with 'set" to see if one already exists, and if so warn about conflicts if it is being set to something else. */ -#if defined(__GNUC__) && __GNUC__ >= 2 && __GNUC_MINOR__ >= 6 +#if defined(__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 6)) set supports_template_debugging 1 #else set supports_template_debugging 0 |