Disable treat errors as warnings for httplib

This commit is contained in:
PabloMK7 2023-10-03 17:49:19 +02:00
parent 415d0c2abd
commit e0373d679c

View file

@ -20,7 +20,23 @@
#if defined(__ANDROID__) #if defined(__ANDROID__)
#include <ifaddrs.h> #include <ifaddrs.h>
#endif #endif
#if defined(_WIN32)
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(default : all)
#else
#pragma GCC diagnostic push
#pragma GCC diagnostic warning "-Werror"
#endif
#endif
#include <httplib.h> #include <httplib.h>
#if defined(_WIN32)
#ifdef _MSC_VER
#pragma warning(pop)
#else
#pragma GCC diagnostic pop
#endif
#endif
#include "core/hle/ipc_helpers.h" #include "core/hle/ipc_helpers.h"
#include "core/hle/kernel/shared_memory.h" #include "core/hle/kernel/shared_memory.h"
#include "core/hle/service/service.h" #include "core/hle/service/service.h"