acl/lib_acl_cpp/src/acl_stdafx.hpp

69 lines
1.4 KiB
C++
Raw Normal View History

// stdafx.h : <20><>׼ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC>İ<EFBFBD><C4B0><EFBFBD><EFBFBD>ļ<EFBFBD><C4BC><EFBFBD>
// <20><><EFBFBD>dz<EFBFBD><C7B3>õ<EFBFBD><C3B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD><C4B5><EFBFBD>Ŀ<EFBFBD>ض<EFBFBD><D8B6>İ<EFBFBD><C4B0><EFBFBD><EFBFBD>ļ<EFBFBD>
2014-11-19 00:25:21 +08:00
//
//#pragma once
2014-11-19 00:25:21 +08:00
//#define WIN32_LEAN_AND_MEAN // <20><> Windows ͷ<><CDB7><EFBFBD>ų<EFBFBD><C5B3><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD>õ<EFBFBD><C3B5><EFBFBD><EFBFBD><EFBFBD>
2014-11-19 00:25:21 +08:00
// TODO: <20>ڴ˴<DAB4><CBB4><EFBFBD><EFBFBD>ó<EFBFBD><C3B3><EFBFBD>Ҫ<EFBFBD><D2AA><EFBFBD>ĸ<EFBFBD><C4B8><EFBFBD>ͷ<EFBFBD>ļ<EFBFBD>
2014-11-19 00:25:21 +08:00
#include "acl_cpp/acl_cpp_define.hpp"
#include "lib_acl.h"
#include "lib_protocol.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdarg.h>
#include <assert.h>
#include <vector>
#include <map>
#include <list>
#include <memory>
#include <string>
#include <utility>
2014-11-19 00:25:21 +08:00
#include "acl_cpp/stdlib/malloc.hpp"
2020-06-12 15:14:26 +08:00
#ifndef ACL_CPP_DEBUG_MEM
# if defined(_WIN32) || defined(_WIN64)
# include "acl_cpp/stdlib/snprintf.hpp"
# ifdef _DEBUG
# ifndef _CRTDBG_MAP_ALLOC
# define _CRTDBG_MAP_ALLOC
# include <crtdbg.h>
# include <stdlib.h>
# endif
# undef NEW
# define NEW new(_NORMAL_BLOCK, __FILE__, __LINE__)
# else
# undef NEW
# define NEW new
# endif // _DEBUG
2014-11-19 00:25:21 +08:00
# else
# define NEW new
2014-11-19 00:25:21 +08:00
#endif
2020-06-12 15:14:26 +08:00
#endif // ACL_CPP_DEBUG_MEM
#if defined(ACL_UNIX)
#include <pthread.h>
#include <unistd.h>
#include <zlib.h>
#endif
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD>п<EFBFBD><D0BF>Լӿ<D4BC><D3BF><EFBFBD> VC <20>µı<C2B5><C4B1><EFBFBD><EFBFBD>ٶ<EFBFBD>
//#if defined(_WIN32) || defined(_WIN64)
2014-11-19 00:25:21 +08:00
#include "acl_cpp/lib_acl.hpp"
//#endif
2019-06-17 10:51:28 +08:00
#define ACL_CPP_DEBUG_MIN 40
#define ACL_CPP_DEBUG_CONN_MANAGER 41
2022-09-05 11:10:44 +08:00
#define ACL_CPP_DEBUG_HTTP_NET 42
2019-06-17 10:51:28 +08:00
#define ACL_CPP_DEBUG_MAX 70