Remove pragmas that do nothing and mark as SYSTEM

This commit is contained in:
PabloMK7 2023-10-03 19:31:47 +02:00
parent 0b11a2b790
commit 62ee5e2cdc
2 changed files with 1 additions and 8 deletions

View File

@ -190,7 +190,7 @@ if (NOT OPENSSL_FOUND)
set(LIBRESSL_SKIP_INSTALL ON CACHE BOOL "")
set(OPENSSLDIR "/etc/ssl/")
add_subdirectory(libressl EXCLUDE_FROM_ALL)
target_include_directories(ssl INTERFACE ./libressl/include)
target_include_directories(ssl SYSTEM INTERFACE ./libressl/include)
target_compile_definitions(ssl PRIVATE -DHAVE_INET_NTOP)
get_directory_property(OPENSSL_LIBRARIES
DIRECTORY libressl

View File

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