Skip to content

Commit 0078841

Browse files
author
Philip Kaufmann
committed
prevent Windows redefinition warning cause by compat.h
1 parent 5f083af commit 0078841

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/compat.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
#undef _WIN32_WINNT
1212
#endif
1313
#define _WIN32_WINNT 0x0501
14+
#ifndef WIN32_LEAN_AND_MEAN
1415
#define WIN32_LEAN_AND_MEAN 1
16+
#endif
1517
#ifndef NOMINMAX
1618
#define NOMINMAX
1719
#endif

0 commit comments

Comments
 (0)