From bf3f651f6c262e01b3d1349c2ff497bf0e698a60 Mon Sep 17 00:00:00 2001 From: Hans-Kristian Arntzen Date: Tue, 6 Jun 2023 12:58:22 +0200 Subject: [PATCH] Workaround MSVC jank --- tests-other/c_api_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests-other/c_api_test.c b/tests-other/c_api_test.c index 81853e44..74a1883a 100644 --- a/tests-other/c_api_test.c +++ b/tests-other/c_api_test.c @@ -176,7 +176,7 @@ int main(int argc, char **argv) SPVC_CHECKED_CALL(spvc_compiler_create_compiler_options(compiler_glsl, &options)); SPVC_CHECKED_CALL(spvc_compiler_install_compiler_options(compiler_glsl, options)); - static const int NUM_EXTS = 2; +#define NUM_EXTS 2 const char *expected_exts[NUM_EXTS] = { "EXT_first",