diff options
Diffstat (limited to 'pjlib/include/pj/compat/socket.h')
-rw-r--r-- | pjlib/include/pj/compat/socket.h | 6 |
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 |