Skip to content
Snippets Groups Projects
Unverified Commit 08bda843 authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov Committed by GitHub
Browse files

Merge pull request #8 from cellframe/1.1-11-Win

1.1-11-Win
parents e320774d 76426a11
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,17 @@ endif()
set(DAP_UDP_SERVER_SRCS dap_udp_server.c dap_udp_client.h dap_udp_client.c)
if(WIN32)
include_directories(../libdap/src/win32/)
include_directories(../3rdparty/libmemcached/)
include_directories(../3rdparty/libmemcached/win32/)
include_directories(../3rdparty/wepoll/include/)
include_directories(../3rdparty/uthash/src/)
include_directories(../3rdparty/libjson-c/)
include_directories(../3rdparty/libmagic/src/)
include_directories(../3rdparty/curl/include/)
endif()
add_library(${PROJECT_NAME} STATIC ${DAP_UDP_SERVER_SRCS})
target_link_libraries(${PROJECT_NAME} dap_core dap_server_core )
......
/*
Copyright (c) 2017-2018 (c) Project "DeM Labs Inc" https://github.com/demlabsinc
Copyright (c) 2017-2019 (c) Project "DeM Labs Inc" https://demlabs.net
All rights reserved.
This file is part of DAP (Deus Applications Prototypes) the open source project
......@@ -45,7 +45,7 @@
#include <mswsock.h>
#include <ws2tcpip.h>
#include <io.h>
#include "wrappers.h"
//#include "wrappers.h"
#include <wepoll.h>
#include <pthread.h>
#endif
......
......@@ -47,7 +47,7 @@
#include <mswsock.h>
#include <ws2tcpip.h>
#include <io.h>
#include "wrappers.h"
//#include "wrappers.h"
#include <wepoll.h>
#include <pthread.h>
#endif
......@@ -443,3 +443,4 @@ error:
return;
}
/*
Copyright (c) 2017-2018 (c) Project "DeM Labs Inc" https://github.com/demlabsinc
Copyright (c) 2017-2019 (c) Project "DeM Labs Inc" https://github.com/demlabsinc
All rights reserved.
This file is part of DAP (Deus Applications Prototypes) the open source project
......@@ -61,7 +61,6 @@ typedef struct dap_udp_server {
#define DAP_UDP_SERVER(a) ((dap_udp_server_t *) (a)->_inheritor)
extern void dap_udp_server_delete( dap_server_t *sh );
extern void dap_udp_server_loop( dap_server_t *udp_server ); // Start server event loop
extern dap_server_t *dap_udp_server_listen( uint16_t port ); // Create and bind server
void dap_udp_server_delete( dap_server_t *sh );
void dap_udp_server_loop( dap_server_t *udp_server ); // Start server event loop
dap_server_t *dap_udp_server_listen( uint16_t port ); // Create and bind serv
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