Skip to content

Commit

Permalink
yse#75 Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
cas4ey committed Nov 3, 2017
1 parent 4bf796c commit ec720bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions easy_profiler_core/easy_socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,15 @@ limitations under the License.
#include <easy/easy_socket.h>
#include <string.h>
#include <thread>
#include <limits>

#if defined(_WIN32)
# pragma comment (lib, "Ws2_32.lib")
# pragma comment (lib, "Mswsock.lib")
# pragma comment (lib, "AdvApi32.lib")
# ifdef max
# undef max
# endif
#else
# include <errno.h>
# include <sys/ioctl.h>
Expand Down

0 comments on commit ec720bf

Please sign in to comment.