mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-11-30 02:47:56 +08:00
9697f95b8f
This reverts commit 15d999759e
.
23 lines
590 B
C
23 lines
590 B
C
#ifndef __STD_AFX_INCLUDE_H__
|
|
#define __STD_AFX_INCLUDE_H__
|
|
|
|
# ifdef WIN32
|
|
# include <stdio.h>
|
|
# include <stdarg.h>
|
|
# ifdef __STDC_WANT_SECURE_LIB__
|
|
int tls_secure_snprintf(char *buf, size_t size, const char *fmt, ...);
|
|
int tls_secure_vsnprintf(char *buf, size_t size, const char *fmt, va_list ap);
|
|
# define snprintf tls_secure_snprintf
|
|
# define vsnprintf tls_secure_vsnprintf
|
|
# else
|
|
# ifndef snprintf
|
|
# define snprintf _snprintf
|
|
# endif
|
|
# ifndef vsnprintf
|
|
# define vsnprintf _vsnprintf
|
|
# endif
|
|
# endif
|
|
# endif /* WIN2 */
|
|
#include "lib_acl.h"
|
|
#endif
|