Guard pragma warning statements with ifdef msvc

This commit is contained in:
Dan Paulat 2023-04-16 01:02:56 -05:00
parent ec45e0bce0
commit 509fc76653
12 changed files with 100 additions and 28 deletions

View file

@ -2,12 +2,18 @@
#include <string>
#pragma warning(push, 0)
#if defined(_MSC_VER)
# pragma warning(push, 0)
#endif
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <mbgl/util/constants.hpp>
#pragma warning(pop)
#if defined(_MSC_VER)
# pragma warning(pop)
#endif
namespace scwx
{