glslang-zig/glslang/Include
Christopher Degawa 8486b2e0db
Common: include standard headers before doing any defines
currently, due to

```c++
\#if (defined(_MSC_VER) && _MSC_VER < 1900 /*vs2015*/) || defined 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))
```

defining `snprintf` to `sprintf_s` essentially unconditionally, this will break the
stdio.h+cstdio system header for mingw-w64 g++ in msys2 with shaderc
https://github.com/google/shaderc/issues/1065

an alternative change would be
https://raw.githubusercontent.com/shinchiro/mpv-winbuild-cmake/master/packages/glslang-0001-fix-gcc-10.1-error.patch
in which the `|| defined MINGW_HAS_SECURE_API` part is removed

Signed-off-by: Christopher Degawa <ccom@randomderp.com>
2020-07-12 00:06:35 +00:00
..
arrays.h Implement GL_NV_cooperative_matrix 2019-02-25 23:42:59 -06:00
BaseTypes.h Add support for es extension GL_EXT_blend_func_extended 2020-04-30 23:21:14 -07:00
Common.h Common: include standard headers before doing any defines 2020-07-12 00:06:35 +00:00
ConstantUnion.h Fixes for gcc 9 / -Werror=deprecated-copy 2019-10-19 15:36:34 +03:00
glslang_c_interface.h Add support for es extension GL_EXT_blend_func_extended 2020-04-30 23:21:14 -07:00
glslang_c_shader_types.h Add Shared/Std140 SSBO process & top-level array elements related (#2231) 2020-06-04 01:47:18 -06:00
InfoSink.h Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
InitializeGlobals.h Memory: Remove the need for per-thread tear down. 2017-11-13 01:52:11 -07:00
intermediate.h GL_EXT_ray_query updates 2020-03-19 11:09:57 -04:00
PoolAlloc.h Remove glslang::pool_allocator::setAllocator 2019-12-04 14:09:03 -08:00
ResourceLimits.h Add support for es extension GL_EXT_blend_func_extended 2020-04-30 23:21:14 -07:00
ShHandle.h Memory: Remove the need for per-thread tear down. 2017-11-13 01:52:11 -07:00
Types.h Add support for primitive culling layout qualifier. (#2220) 2020-05-21 05:38:41 -06:00