From 2c115a2b2cf6da19c35be09f9c91ea530bbe43fa Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Mon, 6 Dec 2021 15:04:28 +0100 Subject: [PATCH] Fix GCC pragma to not appear on windows --- include/Http.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/Http.h b/include/Http.h index 3673edc..62ded67 100644 --- a/include/Http.h +++ b/include/Http.h @@ -8,10 +8,14 @@ #include #include +#if defined(BEAMMP_LINUX) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wmaybe-uninitialized" +#endif #include +#if defined(BEAMMP_LINUX) #pragma GCC diagnostic pop +#endif namespace fs = std::filesystem;