diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-06 07:52:18 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-06 07:52:18 +0000 |
commit | 088fb2a36ecc4e264e5952bf8157ee30c935fd0a (patch) | |
tree | 85defa29ffcd96708764da38bc210603e89aa5e8 /ruby.h | |
parent | 445d6076d8f44e31bb04e45d9337c0ecfb763729 (diff) | |
download | ruby-088fb2a36ecc4e264e5952bf8157ee30c935fd0a.tar.gz |
* gc.c (ruby_xmalloc2): change check for integer overflow.
[ruby-dev:27399]
* gc.c (ruby_xrealloc2): ditto.
* eval.c (exec_under): avoid accessing ruby_frame->prev.
[ruby-dev:27948]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r-- | ruby.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -41,8 +41,6 @@ extern "C" { #define PRINTF_ARGS(decl, string_index, first_to_check) decl #endif -#include "defines.h" - #ifdef HAVE_STDLIB_H # include <stdlib.h> #endif @@ -60,6 +58,8 @@ extern "C" { #include <stddef.h> #include <stdio.h> +#include "defines.h" + /* need to include <ctype.h> to use these macros */ #ifndef ISPRINT #define ISASCII(c) isascii((int)(unsigned char)(c)) |