From 982757082eaf4530c3c4435dca3fda8b4658e4cf Mon Sep 17 00:00:00 2001 From: driver1998 Date: Thu, 2 Feb 2023 12:45:19 +0800 Subject: [PATCH] gallium: Use DETECT_OS_WINDOWS instead of 'WIN32' Signed-off-by: GH Cao Acked-by: Roland Scheidegger Acked-by: Yonggang Luo Part-of: --- src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp index 242168afd12..2eb89d42e36 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp @@ -366,7 +366,7 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT, .setTargetOptions(options) .setOptLevel((CodeGenOpt::Level)OptLevel); -#ifdef _WIN32 +#if DETECT_OS_WINDOWS /* * MCJIT works on Windows, but currently only through ELF object format. *