]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libitm/eh_cpp.cc
re PR libitm/55693 (libitm.c++/eh-1.C execution test fails on darwin from r193271)
[thirdparty/gcc.git] / libitm / eh_cpp.cc
index 00eac5f7864f5fc48fe2b8f36199201aa9597643..929053d331af8bad879913b97f6e9fa6d0a5408e 100644 (file)
@@ -39,7 +39,7 @@ extern void *__cxa_begin_catch (void *) WEAK;
 extern void __cxa_end_catch (void) WEAK;
 extern void __cxa_tm_cleanup (void *, void *, unsigned int) WEAK;
 
-#if !defined (HAVE_ELF_STYLE_WEAKREF) && !defined (__MACH__)
+#if !defined (HAVE_ELF_STYLE_WEAKREF) 
 void *__cxa_allocate_exception (size_t) { return NULL; }
 void __cxa_throw (void *, void *, void *) { return; }
 void *__cxa_begin_catch (void *) { return NULL; }