diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-05-14 04:10:39 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-05-14 04:10:39 +0000 |
commit | c25084921670dfe33a0871ee7b94c102fea0ea3a (patch) | |
tree | f0df3bfdc54529ba5c345f5536f7164acf7746d4 /class.c | |
parent | ae2fe781dd4aae16a2f03a4b9fb93514eb9886d4 (diff) |
prototypes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
-rw-r--r-- | class.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -565,7 +565,7 @@ rb_define_attr(klass, name, read, write) rb_attr(klass, rb_intern(name), read, write, FALSE); } -#ifdef __STDC__ +#ifdef HAVE_STDARG_PROTOTYPES #include <stdarg.h> #define va_init_list(a,b) va_start(a,b) #else @@ -575,7 +575,7 @@ rb_define_attr(klass, name, read, write) #include <ctype.h> int -#ifdef __STDC__ +#ifdef HAVE_STDARG_PROTOTYPES rb_scan_args(int argc, VALUE *argv, char *fmt, ...) #else rb_scan_args(argc, argv, fmt, va_alist) |