Fix Windows build with LLVM 16 Undef HAVE___CHKSTK to match existing LLVM 10 config for Windows to fix the build. Change-Id: I278f5fa960d07aa1f29539a9bfc2a71bcf96006c Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/77309 Reviewed-by: Shahbaz Youssefi <syoussefi@google.com> Commit-Queue: Geoff Lang <geofflang@google.com> Tested-by: Geoff Lang <geofflang@google.com> Reviewed-by: Geoff Lang <geofflang@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com>
diff --git a/third_party/llvm-16.0/configs/windows/include/llvm/Config/config.h b/third_party/llvm-16.0/configs/windows/include/llvm/Config/config.h index 9faae02..e7ab534 100644 --- a/third_party/llvm-16.0/configs/windows/include/llvm/Config/config.h +++ b/third_party/llvm-16.0/configs/windows/include/llvm/Config/config.h
@@ -243,7 +243,7 @@ /* #undef HAVE___ASHRDI3 */ /* Have host's __chkstk */ -#define HAVE___CHKSTK 1 +/* #undef HAVE___CHKSTK */ /* Have host's __chkstk_ms */ /* #undef HAVE___CHKSTK_MS */