summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.h')
-rwxr-xr-xwin32/win32.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 877db5f70b..808ea19ecc 100755
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -75,6 +75,10 @@
# define PERL_CALLCONV_NO_RET __declspec(dllimport) __declspec(noreturn)
# endif
# endif
+#else /* MSVC noreturn support inside the interp */
+# ifdef _MSC_VER
+# define PERL_CALLCONV_NO_RET __declspec(noreturn)
+# endif
#endif
#define WIN32_LEAN_AND_MEAN