diff options
author | anonymous <local@localhost> | 2010-08-10 17:09:28 +0000 |
---|---|---|
committer | anonymous <local@localhost> | 2010-08-31 18:07:41 +0700 |
commit | ba48c0d0253aaf32d897480b5f98dadcde86671a (patch) | |
tree | 4ddff87deb52927d57f0fca6c925122ca120b431 /src | |
parent | f0f87437f422a55617a16044e2f82f2984624074 (diff) | |
download | libcxxrt-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.cc | 2 |
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) |