]> git.sur5r.net Git - openldap/commitdiff
Generic variable argument header. Hides ugly ifdef.
authorKurt Zeilenga <kurt@openldap.org>
Fri, 6 Nov 1998 01:03:14 +0000 (01:03 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 6 Nov 1998 01:03:14 +0000 (01:03 +0000)
include/ac/stdarg.h [new file with mode: 0644]

diff --git a/include/ac/stdarg.h b/include/ac/stdarg.h
new file mode 100644 (file)
index 0000000..751e4bf
--- /dev/null
@@ -0,0 +1,14 @@
+/* Generic stdarg.h */
+
+#ifndef _AC_STDARG_H
+#define _AC_STDARG_H
+
+#if defined( HAVE_STDARG_H ) && \
+               ( defined( __STDC__) || defined( __WIN32 )
+#      define HAVE_STDARG 1
+#      include <stdarg.h>
+#else
+#      include <vararg.h>
+#endif
+
+#endif /* _AC_STDARG_H */