Skip to content

Commit 3b006c1

Browse files
authored
Merge pull request #458 from demiquartz/fix-macro-name-conflict
Fix conflict between variable and macro name
2 parents 24ac038 + 177d0b4 commit 3b006c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ipv6.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
#include <netinet/in.h>
3333
#include <sys/socket.h>
3434
#else
35+
#ifndef WIN32_LEAN_AND_MEAN
36+
#define WIN32_LEAN_AND_MEAN
37+
#endif
3538
#include <ws2tcpip.h>
3639
#endif
3740
#include <tins/ipv6.h>

0 commit comments

Comments
 (0)