2018-08-08 06:12:38 -05:00
|
|
|
// stdafx.h : include file for standard system include files,
|
|
|
|
// or project specific include files that are used frequently, but
|
|
|
|
// are changed infrequently
|
|
|
|
//
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#define WINVER 0x0A00
|
|
|
|
#define _WIN32_WINNT _WIN32_WINNT_VISTA
|
|
|
|
#define NTDDI_VERSION NTDDI_VISTA
|
|
|
|
|
|
|
|
#include "build_config.h"
|
|
|
|
|
|
|
|
#if defined(OS_WIN)
|
|
|
|
#define _WINSOCK_DEPRECATED_NO_WARNINGS 1
|
2018-09-15 11:22:05 -05:00
|
|
|
#define _HAS_EXCEPTIONS 0
|
|
|
|
#define _CRT_SECURE_NO_WARNINGS 1
|
|
|
|
|
2018-08-08 06:12:38 -05:00
|
|
|
//#include <Winsock2.h>
|
|
|
|
#include <Ws2tcpip.h>
|
|
|
|
|
|
|
|
#include <Windows.h>
|
2018-09-15 11:22:05 -05:00
|
|
|
#undef max
|
2018-08-08 06:12:38 -05:00
|
|
|
//#include <winsock2.h>
|
|
|
|
#include <ws2ipdef.h>
|
|
|
|
#include <iphlpapi.h>
|
|
|
|
#include <mstcpip.h>
|
2018-08-11 20:27:14 -05:00
|
|
|
#include <Windowsx.h>
|
2018-08-08 06:12:38 -05:00
|
|
|
|
|
|
|
#include <tchar.h>
|
|
|
|
#else
|
|
|
|
#define override
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
|
2018-11-17 10:22:35 -06:00
|
|
|
#include <vector>
|
|
|
|
#include <string>
|
|
|
|
|
2018-08-11 20:27:14 -05:00
|
|
|
#undef min
|
|
|
|
|