glslang-zig/glslang
Johannes Kauffmann f3cf7a452c Fix -Wundef warnings for MINGW_HAS_SECURE_API
Since 12e27e17de, it was assumed that the
MINGW_HAS_SECURE_API macro was unconditionally defined. This is not
always the case, and GCC produces -Wundef warnings when that happens.

Fix this, by first checking if MINGW_HAS_SECURE_API is defined, and if
so, also check that it does not evaluate to zero.

As a drive-by, place parentheses around _MSC_VER for consistency.
2022-08-31 15:49:54 +00:00
..
CInterface CInterface: Add OpSource support. 2022-06-07 01:13:21 +09:00
ExtensionHeaders Revert port of GL_EXT_shader_realtime_clock to GL_EXT_spirv_intrinsics 2021-11-11 23:39:47 -07:00
GenericCodeGen Non-functional: White space after "//", mostly for copyrights. 2017-01-06 12:34:14 -07:00
HLSL handleEntryPointAttributes add EatInstance case 2022-05-21 17:00:24 +02:00
Include Fix -Wundef warnings for MINGW_HAS_SECURE_API 2022-08-31 15:49:54 +00:00
MachineIndependent Avoid double-free in functions cloned for vulkan relaxed mode (#2987) 2022-08-02 18:07:01 -06:00
OSDependent build: install glslang-config.cmake to libdir 2022-08-25 23:15:14 +02:00
Public Merge pull request #2851 from chaoticbob/version-override 2022-03-24 17:51:54 -06:00
CMakeLists.txt build: install glslang-config.cmake to libdir 2022-08-25 23:15:14 +02:00
updateGrammar Revert "Merge pull request #2330 from ShabbyX/optimize_for_angle" 2020-07-13 03:39:08 -06:00