… | |
… | |
46 | # define EV_CPP(x) |
46 | # define EV_CPP(x) |
47 | #endif |
47 | #endif |
48 | |
48 | |
49 | #define EV_THROW EV_CPP(throw()) |
49 | #define EV_THROW EV_CPP(throw()) |
50 | |
50 | |
|
|
51 | /* apple's proprietary clang fork errors out with exception specifications */ |
|
|
52 | /* in all sorts of places, so let's not even bother with them */ |
|
|
53 | /* users are strongly advised to install clang or gcc */ |
51 | #if __APPLE__ && __clang__ |
54 | #if __APPLE__ && __clang__ |
52 | # undef EV_THROW |
55 | # undef EV_THROW |
53 | # define EV_THROW |
56 | # define EV_THROW |
54 | #endif |
57 | #endif |
55 | |
58 | |