summaryrefslogtreecommitdiff
path: root/thirdparty/glslang/patches/fix-mingw-snprintf.patch
blob: 2a51bc1f22cd4ff856b850e975070987f16377ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/thirdparty/glslang/glslang/Include/Common.h b/thirdparty/glslang/glslang/Include/Common.h
index 733a790cfd..2c511bc1c5 100644
--- a/thirdparty/glslang/glslang/Include/Common.h
+++ b/thirdparty/glslang/glslang/Include/Common.h
@@ -50,7 +50,9 @@ std::string to_string(const T& val) {
 }
 #endif
 
-#if (defined(_MSC_VER) && _MSC_VER < 1900 /*vs2015*/) || defined MINGW_HAS_SECURE_API
+// -- GODOT start --
+#if (defined(_MSC_VER) && _MSC_VER < 1900 /*vs2015*/) /* || defined MINGW_HAS_SECURE_API */
+// -- GODOT end --
     #include <basetsd.h>
     #ifndef snprintf
     #define snprintf sprintf_s