ClientServerProject/os/windows.h
2021-02-10 23:25:56 -05:00

12 lines
401 B
C++
Executable File

#pragma once
// ReSharper disable CppInconsistentNaming, cppcoreguidelines-macro-usage
#define popen _popen
#define pclose _pclose
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
// ReSharper restore CppInconsistentNaming, cppcoreguidelines-macro-usage
#include <Windows.h>
#include <WinSock2.h>
#include <WS2tcpip.h>
#pragma comment(lib, "Ws2_32.lib")
constexpr auto win_sock_ver = 514; //2.2