Win32: Define COROUTINE_DECL to suppress a warning

In cont.c:

```
warning C4141: 'noreturn': used more than once
```
This commit is contained in:
Nobuyoshi Nakada 2025-01-03 11:29:29 +09:00 committed by Nobuyoshi Nakada
parent 1adf4b1007
commit fb73be1f2a
Notes: git 2025-01-03 04:43:51 +00:00
2 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@
#include <string.h>
#define COROUTINE __declspec(noreturn) void __fastcall
#define COROUTINE_DECL void __fastcall
#define COROUTINE_LIMITED_ADDRESS_SPACE
/* This doesn't include thread information block */

View File

@ -16,6 +16,7 @@
#include <string.h>
#define COROUTINE __declspec(noreturn) void
#define COROUTINE_DECL void
enum {
COROUTINE_REGISTERS = 8,