Skip to content

Commit f569704

Browse files
committed
use macro WIN32_LEAN_AND_MEAN replace head file winsock2.h
1 parent b98829e commit f569704

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log4z.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
#include <errno.h>
160160
#include <stdio.h>
161161
#ifdef WIN32
162-
#include <WinSock2.h>
162+
#define WIN32_LEAN_AND_MEAN
163163
#include <Windows.h>
164164
#endif
165165

0 commit comments

Comments
 (0)