ClientServerProject/os/windows.h

12 lines
401 B
C
Raw Normal View History

2021-02-09 23:02:05 -05:00
#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