summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'array.c')
-rw-r--r--array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/array.c b/array.c
index 61b6344..81b422a 100644
--- a/array.c
+++ b/array.c
@@ -81,7 +81,7 @@ ary_new()
return ary_new2(ARY_DEFAULT_SIZE);
}
-#ifdef __STDC__
+#ifdef HAVE_STDARG_PROTOTYPES
#include <stdarg.h>
#define va_init_list(a,b) va_start(a,b)
#else
@@ -90,7 +90,7 @@ ary_new()
#endif
VALUE
-#ifdef __STDC__
+#ifdef HAVE_STDARG_PROTOTYPES
ary_new3(int n, ...)
#else
ary_new3(n, va_alist)