0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 00:31:02 +08:00

#75 Windows build

This commit is contained in:
Victor Zarubkin 2017-11-03 22:36:43 +03:00
parent 4bf796cb7a
commit ec720bfb25

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>