summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-22 08:59:26 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-03-22 08:59:26 +0000
commit8e070796aae57890bb9bfc4497bd5b929dd62aea (patch)
tree8b65e3a45b97bc24a60d4e9cf41f74c0dd25f600 /util.c
parent1cd3664e9daf5a1b330103d025cdf2b1f9afb6aa (diff)
downloadruby-8e070796aae57890bb9bfc4497bd5b929dd62aea.tar.gz
ruby-8e070796aae57890bb9bfc4497bd5b929dd62aea.tar.xz
ruby-8e070796aae57890bb9bfc4497bd5b929dd62aea.zip
* ruby.h: better inline function support.
* configure.in (NO_C_INLINE): check if inline is available for the C compiler. * marshal.c (r_object): len calculation patch was wrong for machines SIZEOF_BDIGITS == SIZEOF_SHORT. * gc.c: alloca prototype reorganized for C_ALLOCA machine. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 75889dcb1..56059d4dc 100644
--- a/util.c
+++ b/util.c
@@ -16,7 +16,7 @@
#include "missing/file.h"
#endif
-#define RUBY_NO_INLINE
+#define INLINE_DEFINE
#include "ruby.h"
#include "util.h"