diff --git a/libco.c b/libco.c index 6f446971..b0f018e9 100644 --- a/libco.c +++ b/libco.c @@ -1,5 +1,9 @@ #if defined(__clang__) #pragma clang diagnostic ignored "-Wparentheses" + + //placing code in section(text) does not mark it executable with Clang. + #undef LIBCO_MPROTECT + #define LIBCO_MPROTECT #endif #if defined(__clang__) || defined(__GNUC__)