From ba48c0d0253aaf32d897480b5f98dadcde86671a Mon Sep 17 00:00:00 2001 From: anonymous Date: Tue, 10 Aug 2010 17:09:28 +0000 Subject: Fix for gcc-3.x --- src/exception.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exception.cc') diff --git a/src/exception.cc b/src/exception.cc index 6c12495..5c7bb8e 100644 --- a/src/exception.cc +++ b/src/exception.cc @@ -757,7 +757,7 @@ extern "C" _Unwind_Reason_Code __gxx_personality_v0(int version, * pointer to the caught exception, which is either the adjusted pointer (for * C++ exceptions) of the unadjusted pointer (for foreign exceptions). */ -#if __GNUC_MINOR__ > 2 +#if __GNUC__ > 3 && __GNUC_MINOR__ > 2 extern "C" void *__cxa_begin_catch(void *e) throw() #else extern "C" void *__cxa_begin_catch(void *e) -- cgit v1.2.3