From a160b2f56716f70fa3e485ae89875da48baefc1d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 16 May 2019 15:51:37 +0900 Subject: Make COROUTINE_REGISTERS compile-time only not to be a global symbol --- coroutine/win32/Context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coroutine/win32') diff --git a/coroutine/win32/Context.h b/coroutine/win32/Context.h index aa9f17ddab..779a9a8938 100644 --- a/coroutine/win32/Context.h +++ b/coroutine/win32/Context.h @@ -17,7 +17,7 @@ extern "C" { #define COROUTINE __declspec(noreturn) void __fastcall /* This doesn't include thread information block */ -const size_t COROUTINE_REGISTERS = 4; +enum {COROUTINE_REGISTERS = 4}; typedef struct { -- cgit v1.2.3