18 lines
546 B
Diff
18 lines
546 B
Diff
--- a/glslang/Include/Common.h
|
|
+++ b/glslang/Include/Common.h
|
|
@@ -67,13 +67,7 @@
|
|
}
|
|
#endif
|
|
|
|
-#if defined(MINGW_HAS_SECURE_API) && MINGW_HAS_SECURE_API
|
|
- #include <basetsd.h>
|
|
- #ifndef snprintf
|
|
- #define snprintf sprintf_s
|
|
- #endif
|
|
- #define safe_vsprintf(buf,max,format,args) vsnprintf_s((buf), (max), (max), (format), (args))
|
|
-#elif defined (solaris)
|
|
+#if defined (solaris)
|
|
#define safe_vsprintf(buf,max,format,args) vsnprintf((buf), (max), (format), (args))
|
|
#include <sys/int_types.h>
|
|
#define UINT_PTR uintptr_t
|