summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 8c03f431a0..b6824528df 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -16,7 +16,7 @@
#define EXTERN extern __declspec(dllexport)
#endif
-#if defined _MSC_VER
+#if defined _MSC_VER && !defined NORETURN
#define NORETURN(x) __declspec(noreturn) x
#endif