From ac4face2d7d6d2b033874d3e6e24d2133c96132f Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Tue, 16 Aug 2022 05:23:30 +0400 Subject: test --- source/kit/c11/threads.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/kit/c11/threads.h b/source/kit/c11/threads.h index 2083429..0b73183 100644 --- a/source/kit/c11/threads.h +++ b/source/kit/c11/threads.h @@ -40,6 +40,10 @@ #include #include +#ifdef _MSC_VER +# define _Noreturn __declspec(noreturn) +#endif + #if defined(_WIN32) && !defined(__CYGWIN__) # include /* close */ # include /* _exit */ @@ -176,7 +180,7 @@ int thrd_equal(thrd_t, thrd_t); #if defined(__cplusplus) [[ noreturn ]] #else -//_Noreturn +_Noreturn #endif void thrd_exit(int); int thrd_join(thrd_t, int *); -- cgit v1.2.3