diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-01-19 03:58:29 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-01-19 03:58:29 +0000 |
commit | 47e7de1c94be7f826080b3711451eafee894791f (patch) | |
tree | d27cdefeb8b9939c47d3126ddcb1ae2d55287d6e /pjlib/src/pj/sock_bsd.c | |
parent | 5bad79ed937c72db0f066e2e50ebd74fcdd4dbc3 (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/src/pj/sock_bsd.c')
-rw-r--r-- | pjlib/src/pj/sock_bsd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pjlib/src/pj/sock_bsd.c b/pjlib/src/pj/sock_bsd.c index 3ded3a54..cdb8ca8d 100644 --- a/pjlib/src/pj/sock_bsd.c +++ b/pjlib/src/pj/sock_bsd.c @@ -362,7 +362,8 @@ PJ_DEF(pj_status_t) pj_sock_close(pj_sock_t sock) int rc; PJ_CHECK_STACK(); -#if defined(PJ_WIN32) && PJ_WIN32==1 +#if defined(PJ_WIN32) && PJ_WIN32!=0 || \ + defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0 rc = closesocket(sock); #else rc = close(sock); |