summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-25 12:29:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-25 12:29:37 +0000
commita6df88f00b8eac543a29c6c8376f3300d3a310bb (patch)
treeeed65b0fdef11a2f7415c5146c6f192f2fbcebaf /ruby.h
parentf65273b4191230447bc7aa8feeaa252b9a2fa60c (diff)
* common.mk: Borland MAKE doesn't look for file names which have paths
from VPATH. fixed: [ruby-dev:26604] * ruby.h (NORETURN, DEPRECATED): moved just after config.h. * {win32,wince}/Makefile.sub: vsnprintf() is in missing now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/ruby.h b/ruby.h
index 71f769eb1b..ddda5c396b 100644
--- a/ruby.h
+++ b/ruby.h
@@ -20,6 +20,13 @@ extern "C" {
#include "config.h"
+#define NORETURN_STYLE_NEW 1
+#ifndef NORETURN
+# define NORETURN(x) x
+#endif
+#ifndef DEPRECATED
+# define DEPRECATED(x) x
+#endif
#ifndef NOINLINE
# define NOINLINE(x) x
#endif
@@ -57,14 +64,6 @@ extern "C" {
#define ISXDIGIT(c) (ISASCII(c) && isxdigit((int)(unsigned char)(c)))
#endif
-#define NORETURN_STYLE_NEW 1
-#ifndef NORETURN
-# define NORETURN(x) x
-#endif
-#ifndef DEPRECATED
-# define DEPRECATED(x) x
-#endif
-
#if defined(HAVE_ALLOCA_H)
#include <alloca.h>
#endif