aboutsummaryrefslogtreecommitdiffstats
path: root/coroutine
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-17 10:49:25 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-05-17 13:16:39 +0900
commite29a85a96c47be3b4ff77b1e6d2235ea935a35bc (patch)
tree839eac3ad92c0f6acdd8d592b9ceda4151e12386 /coroutine
parentb1b385465e4fc1cab84b2a3fa112a33a3e5ab076 (diff)
downloadruby-e29a85a96c47be3b4ff77b1e6d2235ea935a35bc.tar.gz
Make COROUTINE_XMM_REGISTERS compile-time only too
Diffstat (limited to 'coroutine')
-rw-r--r--coroutine/win64/Context.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/coroutine/win64/Context.h b/coroutine/win64/Context.h
index 1c78dd5b14..eb4540b779 100644
--- a/coroutine/win64/Context.h
+++ b/coroutine/win64/Context.h
@@ -16,8 +16,10 @@ extern "C" {
#define COROUTINE __declspec(noreturn) void
-enum {COROUTINE_REGISTERS = 8};
-const size_t COROUTINE_XMM_REGISTERS = 1+10*2;
+enum {
+ COROUTINE_REGISTERS = 8,
+ COROUTINE_XMM_REGISTERS = 1+10*2,
+};
typedef struct
{