From 45fce2617d873fa89209435d3d3c6ebe43831f34 Mon Sep 17 00:00:00 2001 From: irwir Date: Wed, 30 Jul 2025 14:48:30 +0300 Subject: [PATCH] Exclude "WIN32_LEAN_AND_MEAN" from name check. Signed-off-by: irwir --- scripts/check_names.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/check_names.py b/scripts/check_names.py index 34d9b9953..45b3ade31 100755 --- a/scripts/check_names.py +++ b/scripts/check_names.py @@ -341,7 +341,8 @@ def parse_macros(self, include, exclude=None): """ macro_regex = re.compile(r"# *define +(?P\w+)") exclusions = ( - "asm", "inline", "EMIT", "_CRT_SECURE_NO_DEPRECATE", "MULADDC_" + "asm", "inline", "EMIT", "_CRT_SECURE_NO_DEPRECATE", "MULADDC_", + "WIN32_LEAN_AND_MEAN" ) files = self.get_included_files(include, exclude)