diff options
Diffstat (limited to 'include/rune')
-rw-r--r-- | include/rune/util/util.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/rune/util/util.h b/include/rune/util/util.h index 1ba6781..386f708 100644 --- a/include/rune/util/util.h +++ b/include/rune/util/util.h @@ -38,6 +38,13 @@ #define GLFW_DLL 1 #endif +#ifdef _WIN32 + #define NORET __declspec(noreturn) +#else + #define NORET __attribute__((noreturn)) +#endif + + /// Make API functions visible outside of the library #ifdef RAPI_EXPORT #ifdef _WIN32 |