summaryrefslogtreecommitdiff
path: root/test/video_source.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/video_source.h')
-rw-r--r--test/video_source.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/video_source.h b/test/video_source.h
index 424bb2cfb..54f692865 100644
--- a/test/video_source.h
+++ b/test/video_source.h
@@ -13,7 +13,9 @@
#if defined(_WIN32)
#undef NOMINMAX
#define NOMINMAX
+#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
+#endif
#include <windows.h>
#endif
#include <cstdio>