From 32e4125b2e3b58ecf271dbe14e3693f2fb435a76 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 26 Jul 2006 23:29:11 +0000 Subject: [PATCH] fix compile on newer gcc --- stepmania/src/tests/test_threads.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/tests/test_threads.cpp b/stepmania/src/tests/test_threads.cpp index 1a4ab1c457..be49a99e5c 100644 --- a/stepmania/src/tests/test_threads.cpp +++ b/stepmania/src/tests/test_threads.cpp @@ -123,7 +123,7 @@ void test_suspend_main_thread() } /* Run a second function, so we have two symbols to search for. */ -void TestBacktraceThreadLoop() __attribute__ ((noinline)); +void TestBacktraceThreadLoop() __attribute__ ((__noinline__)); void TestBacktraceThreadLoop() { g_ThreadId = GetCurrentThreadId(); @@ -131,7 +131,7 @@ void TestBacktraceThreadLoop() ; } -int TestBacktraceThread( void *p ) __attribute__ ((noinline)); +int TestBacktraceThread( void *p ) __attribute__ ((__noinline__)); int TestBacktraceThread( void *p ) { TestBacktraceThreadLoop();