summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoranonymous <local@localhost>2010-08-10 17:09:28 +0000
committeranonymous <local@localhost>2010-08-31 18:07:41 +0700
commitba48c0d0253aaf32d897480b5f98dadcde86671a (patch)
tree4ddff87deb52927d57f0fca6c925122ca120b431 /src
parentf0f87437f422a55617a16044e2f82f2984624074 (diff)
downloadlibcxxrt-ba48c0d0253aaf32d897480b5f98dadcde86671a.tar.gz
libcxxrt-ba48c0d0253aaf32d897480b5f98dadcde86671a.tar.bz2
libcxxrt-ba48c0d0253aaf32d897480b5f98dadcde86671a.tar.xz
Fix for gcc-3.x
Diffstat (limited to 'src')
-rw-r--r--src/exception.cc2
1 files changed, 1 insertions, 1 deletions
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)