mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-14 08:50:53 +08:00
9697f95b8f
This reverts commit 15d999759e
.
25 lines
686 B
C
25 lines
686 B
C
#ifndef __STD_AFX_INCLUDE_H__
|
|
#define __STD_AFX_INCLUDE_H__
|
|
|
|
# if defined(_WIN32) || defined(_WIN64)
|
|
# include <stdio.h>
|
|
# include <stdarg.h>
|
|
# ifdef __STDC_WANT_SECURE_LIB__
|
|
int proto_secure_snprintf(char *buf, size_t size, const char *fmt, ...);
|
|
int proto_securev_snprintf(char *buf, size_t size, const char *fmt, va_list ap);
|
|
# define snprintf proto_secure_snprintf
|
|
# define vsnprintf proto_securev_snprintf
|
|
# else
|
|
# ifndef snprintf
|
|
# define snprintf _snprintf
|
|
# endif
|
|
# ifndef vsnprintf
|
|
# define vsnprintf _vsnprintf
|
|
# endif
|
|
# endif
|
|
# endif /* WIN2/WIN64 */
|
|
#include "lib_acl.h"
|
|
//#define PRO_DEBUG_MIN 30
|
|
//#define PRO_DEBUG_MAX 40
|
|
#endif
|