summaryrefslogtreecommitdiffstats
path: root/test/cpp/test_headers_cpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp/test_headers_cpp.cpp')
-rw-r--r--test/cpp/test_headers_cpp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cpp/test_headers_cpp.cpp b/test/cpp/test_headers_cpp.cpp
index 0d55be9..7c9a1df 100644
--- a/test/cpp/test_headers_cpp.cpp
+++ b/test/cpp/test_headers_cpp.cpp
@@ -1,6 +1,10 @@
// Copyright 2022 David Robillard <d@drobilla.net>
// SPDX-License-Identifier: ISC
+#ifdef _WIN32
+# define WIN32_LEAN_AND_MEAN 1
+#endif
+
#include "zix/allocator.h" // IWYU pragma: keep
#include "zix/attributes.h" // IWYU pragma: keep
#include "zix/bitset.h" // IWYU pragma: keep