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:
parent
52f3823b57
commit
b812e1648c
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user