summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bx/src/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bx/src/string.cpp')
-rw-r--r--3rdparty/bx/src/string.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/3rdparty/bx/src/string.cpp b/3rdparty/bx/src/string.cpp
index b39ae253984..03c47096d32 100644
--- a/3rdparty/bx/src/string.cpp
+++ b/3rdparty/bx/src/string.cpp
@@ -5,10 +5,14 @@
#include <bx/allocator.h>
#include <bx/hash.h>
+#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-overflow"
+#endif
#include <bx/readerwriter.h>
+#ifdef __GNUC__
#pragma GCC diagnostic pop
+#endif
#include <bx/string.h>
#if !BX_CRT_NONE