summaryrefslogtreecommitdiff
path: root/win32/config.h.in
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-01-11 01:56:08 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-01-11 01:56:08 +0000
commit6ee84cbabe8fe433930631b15eda4460ffbf2561 (patch)
tree0743890a460d551f910559c5f593f95e1a29d456 /win32/config.h.in
parent8bbfa6fa4c548f1a02e58e8b4dfbb444c0c87d8c (diff)
NORETURN, INLINE
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/config.h.in')
-rw-r--r--win32/config.h.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/win32/config.h.in b/win32/config.h.in
index 6bffe7eea45..0f017e9ac2a 100644
--- a/win32/config.h.in
+++ b/win32/config.h.in
@@ -1,8 +1,10 @@
#define HAVE_PROTOTYPES 1
#define HAVE_STDARG_PROTOTYPES 1
/* #define HAVE_ATTR_NORETURN 1 */
-#define HAVE_INLINE 1
-#define INLINE __inline
+#if _MSC_VER > 1100 && !defined NORETURN
+#define NORETURN(x) __declspec(noreturn) x
+#endif
+#define inline __inline
/* #define HAVE_DIRENT_H 1 */
/* #define HAVE_UNISTD_H 1 */
#define HAVE_STDLIB_H 1