0
0
mirror of https://github.com/yse/easy_profiler.git synced 2025-01-14 00:27:55 +08:00

#75 Windows build

(cherry picked from commit ec720bfb253b71fa612b4b897e06d61929510f44)
This commit is contained in:
Victor Zarubkin 2017-11-03 22:36:43 +03:00
parent 52f3823b57
commit b812e1648c

View File

@ -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>