diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-16 15:51:37 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-16 15:52:09 +0900 |
commit | a160b2f56716f70fa3e485ae89875da48baefc1d (patch) | |
tree | 40509f60a3052683c24bca4f24cac8c7d9f127d5 /coroutine/x86 | |
parent | 7069f64c419ebb9a7fd3e48d81454148ed4b2fba (diff) | |
download | ruby-a160b2f56716f70fa3e485ae89875da48baefc1d.tar.gz |
Make COROUTINE_REGISTERS compile-time only not to be a global symbol
Diffstat (limited to 'coroutine/x86')
-rw-r--r-- | coroutine/x86/Context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coroutine/x86/Context.h b/coroutine/x86/Context.h index b077227a1d..b471ecd9fe 100644 --- a/coroutine/x86/Context.h +++ b/coroutine/x86/Context.h @@ -16,7 +16,7 @@ extern "C" { #define COROUTINE __attribute__((noreturn, fastcall)) void -const size_t COROUTINE_REGISTERS = 4; +enum {COROUTINE_REGISTERS = 4}; typedef struct { |