From 6048f932a50f3434591a598ba32836a96fc6e73a Mon Sep 17 00:00:00 2001 From: Marc Alexander Lehmann Date: Tue, 9 Sep 2014 13:28:21 +0000 Subject: [PATCH] *** empty log message *** --- ev.h | 5 +++++ ev_vars.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ev.h b/ev.h index ad72c5f..04f7ad4 100644 --- a/ev.h +++ b/ev.h @@ -48,6 +48,11 @@ #define EV_THROW EV_CPP(throw()) +#if __APPLE__ && __clang__ +# undef EV_THROW +# define EV_THROW +#endif + EV_CPP(extern "C" {) /*****************************************************************************/ diff --git a/ev_vars.h b/ev_vars.h index 6c1a0de..ebd0b7d 100644 --- a/ev_vars.h +++ b/ev_vars.h @@ -194,8 +194,8 @@ VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */ VARx(unsigned int, loop_depth) /* #ev_run enters - #ev_run leaves */ VARx(void *, userdata) -VAR (release_cb, ev_loop_callback release_cb EV_THROW) -VAR (acquire_cb, ev_loop_callback acquire_cb EV_THROW) +VAR (release_cb, ev_loop_callback EV_THROW release_cb) +VAR (acquire_cb, ev_loop_callback EV_THROW acquire_cb) VAR (invoke_cb , ev_loop_callback invoke_cb) #endif -- 2.39.2