From 0b11a2b79089c90316fe58eab99c84ec83fae444 Mon Sep 17 00:00:00 2001 From: PabloMK7 Date: Tue, 3 Oct 2023 18:23:50 +0200 Subject: [PATCH] Fix defines --- src/core/hle/service/http/http_c.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/core/hle/service/http/http_c.h b/src/core/hle/service/http/http_c.h index d2e0c45ee6..aaaf7f4439 100644 --- a/src/core/hle/service/http/http_c.h +++ b/src/core/hle/service/http/http_c.h @@ -20,23 +20,14 @@ #if defined(__ANDROID__) #include #endif -#if defined(_WIN32) -#ifdef _MSC_VER -#pragma warning(push) -#pragma warning(default : all) -#else +#if defined(_WIN32) && !defined(_MSC_VER) #pragma GCC diagnostic push #pragma GCC diagnostic warning "-Werror" #endif -#endif #include -#if defined(_WIN32) -#ifdef _MSC_VER -#pragma warning(pop) -#else +#if defined(_WIN32) && !defined(_MSC_VER) #pragma GCC diagnostic pop #endif -#endif #include "core/hle/ipc_helpers.h" #include "core/hle/kernel/shared_memory.h" #include "core/hle/service/service.h"