]> git.sur5r.net Git - openldap/blobdiff - include/ac/stdarg.h
s/Id/OpenLDAP/ in RCSids
[openldap] / include / ac / stdarg.h
index 2f9671be08909668bcc83c51e2d4327c126f803b..c7b2d46c87f8f9438d7475fd47b149db908ef5cf 100644 (file)
@@ -1,4 +1,5 @@
 /* Generic stdarg.h */
+/* $OpenLDAP$ */
 /*
  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
 #ifndef _AC_STDARG_H
 #define _AC_STDARG_H 1
 
-#if defined( HAVE_STDARG ) || \
-       ( defined( HAVE_STDARG_H ) && defined( __STDC__ ) ) 
+/* require STDC variable argument support */
 
-#      include <stdarg.h>
+#include <stdarg.h>
 
-#      ifndef HAVE_STDARG
-#              define HAVE_STDARG 1
-#      endif
-
-#else
-#      include <varargs.h>
+#ifndef HAVE_STDARG
+#      define HAVE_STDARG 1
 #endif
 
 #endif /* _AC_STDARG_H */