Fix GCC pragma to not appear on windows

This commit is contained in:
Lion Kortlepel
2021-12-06 15:04:28 +01:00
parent 1172420b77
commit 2c115a2b2c

View File

@@ -8,10 +8,14 @@
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
#if defined(BEAMMP_LINUX)
#pragma GCC diagnostic push #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized" #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
#include <httplib.h> #include <httplib.h>
#if defined(BEAMMP_LINUX)
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
#endif
namespace fs = std::filesystem; namespace fs = std::filesystem;