diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-14 21:04:47 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-14 21:04:47 +0000 |
commit | c672d0e3ecea6fe784250b5099f8126c0ff18ad1 (patch) | |
tree | 6540b7d4175fe7f2648270329345c2f50ff91be9 /pjlib/include/pj/compat/socket.h | |
parent | cec9d0501ccdf37cb82e398df6ec4e5bd4e1ac01 (diff) |
Changed the unicode string API and ported to ARM/WinCE
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@182 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/compat/socket.h')
-rw-r--r-- | pjlib/include/pj/compat/socket.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pjlib/include/pj/compat/socket.h b/pjlib/include/pj/compat/socket.h index ee4f3a6e..e3f68b5d 100644 --- a/pjlib/include/pj/compat/socket.h +++ b/pjlib/include/pj/compat/socket.h @@ -76,7 +76,8 @@ /* * Define common errors. */ -#ifdef PJ_WIN32 +#if (defined(PJ_WIN32) && PJ_WIN32!=0) || \ + (defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0) # define OSERR_EWOULDBLOCK WSAEWOULDBLOCK # define OSERR_EINPROGRESS WSAEINPROGRESS # define OSERR_ECONNRESET WSAECONNRESET |