Files
--hp-socket-TCP--ssl--/Client/pch.h
2026-01-23 08:39:07 +08:00

39 lines
1.1 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// pch.h: 这是预编译标头文件。
// 下方列出的文件仅编译一次,提高了将来生成的生成性能。
// 这还将影响 IntelliSense 性能,包括代码完成和许多代码浏览功能。
// 但是,如果此处列出的文件中的任何一个在生成之间有更新,它们全部都将被重新编译。
// 请勿在此处添加要频繁更新的文件,这将使得性能优势无效。
#pragma once
// 静态库定义(必须在包含HPSocket之前)
#define HPSOCKET_STATIC_LIB
// SSL 支持定义(必须在包含HPSocket之前)
#define _NEED_SSL
#define _SSL_SUPPORT
// 防止winsock.h被包含使用winsock2.h
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
// 标准库
#include <iostream>
#include <string>
#include <locale>
#include <conio.h>
#include <tchar.h>
#include <vector>
#include <filesystem>
#include <sstream>
#include <fstream>
// Windows 头文件
#include <windows.h>
#include <winsock2.h>
// HP-Socket 头文件
#include "../../../Include/HPSocket/HPSocket.h"
#include "../../../Include/HPSocket/HPSocket-SSL.h"