]> git.sur5r.net Git - openldap/blob - include/ac/stdarg.h
b32ee65924147be15f6a7de34f411f7d1b2f9452
[openldap] / include / ac / stdarg.h
1 /* Generic stdarg.h */
2 /* $OpenLDAP$ */
3 /*
4  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms are permitted only
8  * as authorized by the OpenLDAP Public License.  A copy of this
9  * license is available at http://www.OpenLDAP.org/license.html or
10  * in file LICENSE in the top-level directory of the distribution.
11  */
12
13 #ifndef _AC_STDARG_H
14 #define _AC_STDARG_H 1
15
16 /* require STDC variable argument support */
17
18 #include <stdarg.h>
19
20 #ifndef HAVE_STDARG
21 #       define HAVE_STDARG 1
22 #endif
23
24 /*
25  * These functions are not included amongst Mingw32 headers for some
26  * reason even though they are supported in the library
27  */
28
29 #if defined(__MINGW32__) && defined(HAVE_SNPRINTF)
30 LIBC_F (int) snprintf(char *, size_t, const char *, ...);
31 #endif
32
33 #if defined(__MINGW32__) && defined(HAVE_VSNPRINTF)
34 LIBC_F (int) vsnprintf(char *, size_t, const char *, va_list);
35 #endif
36
37 #endif /* _AC_STDARG_H */