acl/lib_protocol/src/StdAfx.h

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