diff options
author | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-16 05:23:30 +0400 |
---|---|---|
committer | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-16 05:23:30 +0400 |
commit | ac4face2d7d6d2b033874d3e6e24d2133c96132f (patch) | |
tree | ead0679cb1129e436e750786e0c132d95cf262ef /source | |
parent | 8f60343cb7f33277515c3b1b25d1e90e53477556 (diff) | |
download | kit-ac4face2d7d6d2b033874d3e6e24d2133c96132f.zip |
test
Diffstat (limited to 'source')
-rw-r--r-- | source/kit/c11/threads.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 <limits.h> #include <stdlib.h> +#ifdef _MSC_VER +# define _Noreturn __declspec(noreturn) +#endif + #if defined(_WIN32) && !defined(__CYGWIN__) # include <io.h> /* close */ # include <process.h> /* _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 *); |