fix Android build

This commit is contained in:
clasher113 2026-10-20 14:52:59 +03:00
parent 2053b3a11f
commit ee41e058a9
2 changed files with 12 additions and 3 deletions

View file

@ -1,15 +1,14 @@
#include "commons.hpp"
#pragma comment(lib, "Ws2_32.lib")
#define NOMINMAX
#include <stdexcept>
#include <limits>
#include <queue>
#include <thread>
#ifdef _WIN32
#define NOMINMAX
#include <curl/curl.h>
#pragma comment(lib, "Ws2_32.lib")
#define SHUT_RDWR SD_BOTH
#else
#include <sys/types.h>