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:
parent
4bf796cb7a
commit
ec720bfb25
@ -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