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:
@@ -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',
|
||||
|
Reference in New Issue
Block a user