Fix defines

This commit is contained in:
PabloMK7 2023-10-03 18:23:50 +02:00
parent e0373d679c
commit 0b11a2b790

View File

@ -20,23 +20,14 @@
#if defined(__ANDROID__) #if defined(__ANDROID__)
#include <ifaddrs.h> #include <ifaddrs.h>
#endif #endif
#if defined(_WIN32) #if defined(_WIN32) && !defined(_MSC_VER)
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(default : all)
#else
#pragma GCC diagnostic push #pragma GCC diagnostic push
#pragma GCC diagnostic warning "-Werror" #pragma GCC diagnostic warning "-Werror"
#endif #endif
#endif
#include <httplib.h> #include <httplib.h>
#if defined(_WIN32) #if defined(_WIN32) && !defined(_MSC_VER)
#ifdef _MSC_VER
#pragma warning(pop)
#else
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
#endif #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"