Fix compile and warnings on MSVC

This commit is contained in:
2017-06-21 19:01:36 +10:00
parent a067fed81f
commit 93bbc25b11
4 changed files with 32 additions and 12 deletions
+8 -3
View File
@@ -1,5 +1,7 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpsabi"
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpsabi"
#endif
/*
HandmadeMath.h v1.1.2
@@ -2659,4 +2661,7 @@ operator*=(hmm_quaternion &Left, float Right)
#endif /* HANDMADE_MATH_CPP_MODE */
#endif /* HANDMADE_MATH_IMPLEMENTATION */
#pragma GCC diagnostic pop
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif