#ifndef __STD_AFX_INCLUDE_H__ #define __STD_AFX_INCLUDE_H__ #ifdef ACL_PREPARE_COMPILE # include "stdlib/acl_define.h" # include # include # include /* DBL_MAX_10_EXP */ # include # include /* CHAR_BIT */ #if defined(_WIN32) || defined(_WIN64) # include # include # include # ifdef __STDC_WANT_SECURE_LIB__ int acl_secure_snprintf(char *buf, size_t size, const char *fmt, ...); int acl_secure_vsnprintf(char *buf, size_t size, const char *fmt, va_list ap); # define snprintf acl_secure_snprintf # define vsnprintf acl_secure_vsnprintf # else # define snprintf _snprintf # define vsnprintf _vsnprintf # endif /* __STDC_WANT_SECURE_LIB__ */ # endif /* _WIN32 */ # ifdef ACL_UNIX # ifndef _GNU_SOURCE # define _GNU_SOURCE # endif # include # include # include # include # include # include # include # include # include # include # include # include # include # include # include # include # include # include # include # include # include # ifdef ACL_FREEBSD # include # include # endif # endif /* ACL_UNIX */ # include "lib_acl.h" #if defined (_WIN32) || defined(_WIN64) /* for vc2003 */ # if _MSC_VER <= 1310 int inet_pton(int af, const char *src, void *dst); const char *inet_ntop(int af, const void *src, char *dst, socklen_t size); # endif #endif #endif /* ACL_PREPARE_COMPILE */ #endif