summaryrefslogtreecommitdiff
path: root/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/struct.c b/struct.c
index a7ed2623fe1..47856907722 100644
--- a/struct.c
+++ b/struct.c
@@ -165,7 +165,7 @@ make_struct(name, member, klass)
return nstr;
}
-#ifdef __STDC__
+#ifdef HAVE_STDARG_PROTOTYPES
#include <stdarg.h>
#define va_init_list(a,b) va_start(a,b)
#else
@@ -174,7 +174,7 @@ make_struct(name, member, klass)
#endif
VALUE
-#ifdef __STDC__
+#ifdef HAVE_STDARG_PROTOTYPES
struct_define(char *name, ...)
#else
struct_define(name, va_alist)
@@ -249,7 +249,7 @@ struct_alloc(klass, values)
}
VALUE
-#ifdef __STDC__
+#ifdef HAVE_STDARG_PROTOTYPES
struct_new(VALUE klass, ...)
#else
struct_new(klass, va_alist)