16 lines
610 B
Diff
16 lines
610 B
Diff
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
|