mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 11:09:34 -05:00
Generic variable argument header. Hides ugly ifdef.
This commit is contained in:
parent
24a6a91cac
commit
0221763eac
1 changed files with 14 additions and 0 deletions
14
include/ac/stdarg.h
Normal file
14
include/ac/stdarg.h
Normal file
|
|
@ -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 */
|
||||
Loading…
Reference in a new issue