Commit ac42c950 authored by aymeric's avatar aymeric

fix for windows mobile

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@718 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 1f23ceee
......@@ -231,6 +231,7 @@ char *ortp_strdup_printf(const char *fmt,...);
char *ortp_strdup_vprintf(const char *fmt, va_list ap);
/* portable named pipes */
#if !defined(_WIN32_WCE)
#ifdef WIN32
typedef HANDLE ortp_pipe_t;
#define ORTP_PIPE_INVALID INVALID_HANDLE_VALUE
......@@ -254,7 +255,7 @@ int ortp_client_pipe_close(ortp_pipe_t sock);
int ortp_pipe_read(ortp_pipe_t p, uint8_t *buf, int len);
int ortp_pipe_write(ortp_pipe_t p, const uint8_t *buf, int len);
#endif
#ifdef __cplusplus
}
......
......@@ -405,7 +405,7 @@ int ortp_client_pipe_close(ortp_socket_t sock){
return close(sock);
}
#else
#elif defined(WIN32) && !defined(_WIN32_WCE)
static char *make_pipe_name(const char *name){
return ortp_strdup_printf("\\\\.\\pipe\\%s",name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment