1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* missing/alloca.c: suppress warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-04-01 12:18:32 +00:00
parent 19c9ac249b
commit 69fa2fe929

View file

@ -30,6 +30,8 @@ static char SCCSid[] = "@(#)alloca.c 1.1"; /* for the "what" utility */
#endif
#include "ruby/config.h"
#define X3J11 1 /* config.h should contain void if neede */
#ifdef C_ALLOCA
#ifdef emacs
@ -52,7 +54,9 @@ typedef void *pointer; /* generic pointer type */
typedef char *pointer; /* generic pointer type */
#endif /* X3J11 */
#ifndef NULL
#define NULL 0 /* null pointer constant */
#endif
#ifdef RUBY_LIB_PREFIX
#define xmalloc ruby_xmalloc