diff options
Diffstat (limited to 'coroutine/copy/Context.h')
-rw-r--r-- | coroutine/copy/Context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/coroutine/copy/Context.h b/coroutine/copy/Context.h index a62efa4e8a..0b6e3a9be0 100644 --- a/coroutine/copy/Context.h +++ b/coroutine/copy/Context.h @@ -16,6 +16,10 @@ #define COROUTINE __attribute__((noreturn)) void +#if INTPTR_MAX <= INT32_MAX +#define COROUTINE_LIMITED_ADDRESS_SPACE +#endif + // This stack copying implementation which uses a private stack for each coroutine, including the main one. #define COROUTINE_PRIVATE_STACK |