asio_config.h
来自「C++ web POSIX framewark」· C头文件 代码 · 共 27 行
H
27 行
#ifndef CPPCMS_ASIO_CONF_H#define CPPCMS_ASIO_CONF_H#include "config.h"#ifdef __CYGWIN__// Cygwin ASIO works only with win32 sockets#define _WIN32_WINNT 1#define __USE_W32_SOCKETS 1#endif#ifdef USE_BOOST_ASIO#include <boost/asio.hpp>namespace aio = boost::asio;using boost::system::error_code;using boost::system::system_error;#else#include <asio.hpp>namespace aio = asio;using asio::error_code;using asio::system_error;#endifusing aio::ip::tcp;#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?