summaryrefslogtreecommitdiffstats
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
commiteaa2e4a30c15bc722398e5863b1fd7bb34f19165 (patch)
treeeed65b0fdef11a2f7415c5146c6f192f2fbcebaf /ruby.h
parenta6862e4baadefcb0fb008e995498c0ed349a006d (diff)
downloadruby-eaa2e4a30c15bc722398e5863b1fd7bb34f19165.tar.gz
ruby-eaa2e4a30c15bc722398e5863b1fd7bb34f19165.tar.xz
ruby-eaa2e4a30c15bc722398e5863b1fd7bb34f19165.zip
* 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: http://svn.ruby-lang.org/repos/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 71f769eb1..ddda5c396 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