Fix windows compilation
This commit is contained in:
parent
d1e82d4a94
commit
1da7287376
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user