summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-01-10 07:30:18 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-01-10 07:30:18 +0000
commit6b5ad7c5b203b7ffa8b86b1d0b9b15df56a90a27 (patch)
tree3418e391f39f859a553db6c1d92cc3e525efe32e /win32/win32.h
parentab9be24857d58a8300ccfb2bfbb093bcfe9807ab (diff)
setres[ug]id, NORETURN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 ebffc5c8ab8..8c03f431a03 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
//