summaryrefslogtreecommitdiff
path: root/coro.h
diff options
context:
space:
mode:
Diffstat (limited to 'coro.h')
-rw-r--r--coro.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/coro.h b/coro.h
index 7985e7e..cdd2755 100644
--- a/coro.h
+++ b/coro.h
@@ -150,7 +150,7 @@ struct coro_context {
#elif CORO_SJLJ || CORO_LOOSE || CORO_LINUX || CORO_IRIX
-#ifdef CORO_LINUX
+#if defined(CORO_LINUX) && !defined(_GNU_SOURCE)
# define _GNU_SOURCE // for linux libc
#endif