Skip to content

Commit

Permalink
use macro WIN32_LEAN_AND_MEAN replace head file winsock2.h
Browse files Browse the repository at this point in the history
  • Loading branch information
zsummer committed Nov 28, 2014
1 parent b98829e commit f569704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log4z.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
#include <errno.h>
#include <stdio.h>
#ifdef WIN32
#include <WinSock2.h>
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#endif

Expand Down

0 comments on commit f569704

Please sign in to comment.