Fix windows compilation

This commit is contained in:
zvon 2019-06-07 13:12:59 +02:00
parent d1e82d4a94
commit 1da7287376

View File

@ -1,17 +1,18 @@
#ifndef NETWORK_HPP #ifndef NETWORK_HPP
#define NETWORK_HPP #define NETWORK_HPP
#include <string>
#ifdef _WIN32 #ifdef _WIN32
#include <WinInet.h>
#include <Windows.h> #include <Windows.h>
#include <WinInet.h>
using string = std::wstring; using string = std::wstring;
#else #else
#include <curl/curl.h> #include <curl/curl.h>
#include <string>
using string = std::string; using string = std::string;