summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-14 04:10:39 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-14 04:10:39 +0000
commitc25084921670dfe33a0871ee7b94c102fea0ea3a (patch)
treef0df3bfdc54529ba5c345f5536f7164acf7746d4 /class.c
parentae2fe781dd4aae16a2f03a4b9fb93514eb9886d4 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/class.c b/class.c
index 14f4c0befd3..22894927d85 100644
--- a/class.c
+++ b/class.c
@@ -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)