mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
aco: Define NOMINMAX in Meson build file
Fix conflicts between std::min/max and Win32 min/max. Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7785>
This commit is contained in:
parent
2d12991e01
commit
fcd53bebe6
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ libaco_files = files(
|
|||
'aco_validate.cpp',
|
||||
)
|
||||
|
||||
cpp_args_aco = cpp.get_supported_arguments(['-fno-exceptions', '-fno-rtti', '-Wshadow'])
|
||||
cpp_args_aco = cpp.get_supported_arguments(['-fno-exceptions', '-fno-rtti', '-Wshadow', '-DNOMINMAX'])
|
||||
|
||||
_libaco = static_library(
|
||||
'aco',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue