aboutsummaryrefslogtreecommitdiffstats
path: root/coroutine/amd64
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-16 15:51:37 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-16 15:52:09 +0900
commita160b2f56716f70fa3e485ae89875da48baefc1d (patch)
tree40509f60a3052683c24bca4f24cac8c7d9f127d5 /coroutine/amd64
parent7069f64c419ebb9a7fd3e48d81454148ed4b2fba (diff)
downloadruby-a160b2f56716f70fa3e485ae89875da48baefc1d.tar.gz
Make COROUTINE_REGISTERS compile-time only not to be a global symbol
Diffstat (limited to 'coroutine/amd64')
-rw-r--r--coroutine/amd64/Context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/coroutine/amd64/Context.h b/coroutine/amd64/Context.h
index 1801c1e2c5..4ae31d157b 100644
--- a/coroutine/amd64/Context.h
+++ b/coroutine/amd64/Context.h
@@ -16,7 +16,7 @@ extern "C" {
#define COROUTINE __attribute__((noreturn)) void
-const size_t COROUTINE_REGISTERS = 6;
+enum {COROUTINE_REGISTERS = 6};
typedef struct
{