mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 15:20:17 +01:00
gallium: Use DETECT_OS_WINDOWS instead of 'WIN32'
Signed-off-by: GH Cao <driver1998.ms@outlook.com> Acked-by: Roland Scheidegger <sroland@vmware.com> Acked-by: Yonggang Luo <luoyonggang@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20675>
This commit is contained in:
parent
0d1c759f4e
commit
982757082e
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue