Commit 08de4b53 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Only include Winsock.h if we're msvc

parent cd0c3c9f
......@@ -3,9 +3,9 @@
#include <time.h>
#include <windows.h>
#include <WinSock2.h>
#if defined(_MSC_VER) || defined(_MSC_EXTENSIONS)
#include <WinSock2.h>
#define DELTA_EPOCH_IN_MICROSECS 11644473600000000Ui64
#else
#define DELTA_EPOCH_IN_MICROSECS 11644473600000000ULL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment