Skip to content
Snippets Groups Projects
Commit 63d3765b authored by Constantin Papizh's avatar Constantin Papizh
Browse files

Build issues

parent 73dfe6c2
No related branches found
No related tags found
1 merge request!4Build issues
......@@ -34,7 +34,7 @@ endif()
add_library(${PROJECT_NAME} STATIC ${DAP_SERVER_CORE_HEADERS} ${DAP_SERVER_CORE_SOURCES})
if(WIN32)
target_link_libraries(${PROJECT_NAME} dap_core dap_crypto)
target_link_libraries(${PROJECT_NAME} dap_core dap_crypto ${CMAKE_CURRENT_SOURCE_DIR}/../lib/[x86_64CLANG]/wepoll[x86_64CLANG].a)
endif()
if(UNIX)
......
......@@ -38,6 +38,7 @@
#define EPOLL_HANDLE int
#else
#define EPOLL_HANDLE HANDLE
#include "wepoll.h"
#endif
#endif
......
......@@ -21,17 +21,16 @@
#ifndef _WIN32
#include <netinet/in.h>
#include <stdint.h>
#include <pthread.h>
#include <sys/epoll.h>
#include <sys/timerfd.h>
#define EPOLL_HANDLE int
#else
#define EPOLL_HANDLE HANDLE
#include "wepoll.h"
#endif
#include <pthread.h>
#include "uthash.h"
#include "utlist.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment