About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorYonggang Luo <luoyonggang@gmail.com>2023-08-04 14:30:09 +0800
committerMarge Bot <marge-bot@fdo.invalid>2025-09-13 08:23:06 +0000
commit64655a77a6e427a5adeafcb3f2c0bad7ce47b142 (patch)
treef4a32f683efd882da4740ce5c0528e01886fc299 /meson.build
parent21b8e7604ba51f90682adeff650fc866c71c57f2 (diff)
meson: Remove unused predefined macros for windows msvc/gcc
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37289>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build5
1 files changed, 2 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index 25e70cca260..cf0663a86ae 100644
--- a/meson.build
+++ b/meson.build
@@ -1055,12 +1055,11 @@ elif host_machine.system() == 'sunos'
pre_args += '-D__EXTENSIONS__'
elif host_machine.system() == 'windows'
pre_args += [
- '-D_WINDOWS', '-D_WIN32_WINNT=0x0A00', '-DWINVER=0x0A00',
- '-DPIPE_SUBSYSTEM_WINDOWS_USER',
+ '-D_WIN32_WINNT=0x0A00',
+ '-DWINVER=0x0A00',
]
if cc.get_argument_syntax() == 'msvc'
pre_args += [
- '-DVC_EXTRALEAN',
'-D_USE_MATH_DEFINES',
'-D_CRT_SECURE_NO_WARNINGS',
'-D_CRT_SECURE_NO_DEPRECATE',