Skip to content

Commit dbbfe1b

Browse files
committed
fix build when WIN32_LEAN_AND_MEAN is passed on command line
1 parent 7ff1cc7 commit dbbfe1b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/visp/platform.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#include "visp/platform.hpp"
22

33
#ifdef _WIN32
4-
# define WIN32_LEAN_AND_MEAN
4+
# ifndef WIN32_LEAN_AND_MEAN
5+
# define WIN32_LEAN_AND_MEAN
6+
# endif
57
# include <windows.h>
68
#else
79
# include <dlfcn.h>

0 commit comments

Comments
 (0)