summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index ebffc5c8ab..8c03f431a0 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -16,6 +16,10 @@
#define EXTERN extern __declspec(dllexport)
#endif
+#if defined _MSC_VER
+#define NORETURN(x) __declspec(noreturn) x
+#endif
+
//
// Definitions for NT port of Perl
//