summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-01-07 05:22:52 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-01-07 05:22:52 +0000
commit87cf8e5e196da06072c60ac2c65184e5a4d6bac8 (patch)
tree72acb3302a508a05e8bf1c21b6b62a1c60e8567a
parent83615d2e68c73b2d01d643572c7477b9c505df26 (diff)
gcc 3 needs the same syntax as gcc 2
-rw-r--r--regress/lib/csu/init_priority/init_priority_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/csu/init_priority/init_priority_test.cc b/regress/lib/csu/init_priority/init_priority_test.cc
index 4e1edddaa65..4cb7023df00 100644
--- a/regress/lib/csu/init_priority/init_priority_test.cc
+++ b/regress/lib/csu/init_priority/init_priority_test.cc
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_priority_test.cc,v 1.2 2012/09/07 05:01:20 miod Exp $ */
+/* $OpenBSD: init_priority_test.cc,v 1.3 2013/01/07 05:22:51 miod Exp $ */
#include <cassert>
@@ -18,7 +18,7 @@ Test::Test(int x)
counter++;
}
-#if __GNUC__ < 3
+#if __GNUC__ < 4
#define TEST(n) Test test_##n (n) __attribute__((init_priority (n)))
#else
#define TEST(n) Test test_##n __attribute__((init_priority (n))) (n)