From e29a85a96c47be3b4ff77b1e6d2235ea935a35bc Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 17 May 2019 10:49:25 +0900 Subject: [PATCH] Make COROUTINE_XMM_REGISTERS compile-time only too --- coroutine/win64/Context.h | 6 ++++-- 1 file 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 {