summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/compat/socket.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-01-19 03:58:29 +0000
committerBenny Prijono <bennylp@teluu.com>2006-01-19 03:58:29 +0000
commit47e7de1c94be7f826080b3711451eafee894791f (patch)
treed27cdefeb8b9939c47d3126ddcb1ae2d55287d6e /pjlib/include/pj/compat/socket.h
parent5bad79ed937c72db0f066e2e50ebd74fcdd4dbc3 (diff)
Initial, quick and dirty WinCE port with EVC4
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@125 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/compat/socket.h')
-rw-r--r--pjlib/include/pj/compat/socket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pjlib/include/pj/compat/socket.h b/pjlib/include/pj/compat/socket.h
index 1ef7fff3..ee4f3a6e 100644
--- a/pjlib/include/pj/compat/socket.h
+++ b/pjlib/include/pj/compat/socket.h
@@ -95,7 +95,7 @@
/*
* Linux kernel specifics
*/
-#ifdef PJ_LINUX_KERNEL
+#if defined(PJ_LINUX_KERNEL)
# include <linux/net.h>
# include <asm/ioctls.h> /* FIONBIO */
# include <linux/syscalls.h> /* sys_select() */
@@ -123,8 +123,8 @@
/*
* Windows specific
*/
-#ifdef PJ_WIN32
- typedef int socklen_t;;
+#if defined(PJ_WIN32) || defined(PJ_WIN32_WINCE)
+ typedef int socklen_t;
#endif