diff options
Diffstat (limited to 'pjlib/include/pj/compat')
-rw-r--r-- | pjlib/include/pj/compat/errno.h | 3 | ||||
-rw-r--r-- | pjlib/include/pj/compat/socket.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/pjlib/include/pj/compat/errno.h b/pjlib/include/pj/compat/errno.h index ebc7b6dd..7bbd4889 100644 --- a/pjlib/include/pj/compat/errno.h +++ b/pjlib/include/pj/compat/errno.h @@ -21,7 +21,8 @@ #define __PJ_COMPAT_ERRNO_H__ #if defined(PJ_WIN32) && PJ_WIN32 != 0 || \ - defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE != 0 + defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE != 0 || \ + defined(PJ_WIN64) && PJ_WIN64 != 0 typedef unsigned long pj_os_err_type; # define pj_get_native_os_error() GetLastError() diff --git a/pjlib/include/pj/compat/socket.h b/pjlib/include/pj/compat/socket.h index 8a011c1a..23f46af2 100644 --- a/pjlib/include/pj/compat/socket.h +++ b/pjlib/include/pj/compat/socket.h @@ -152,7 +152,8 @@ * Define common errors. */ #if (defined(PJ_WIN32) && PJ_WIN32!=0) || \ - (defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0) + (defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE!=0) || \ + (defined(PJ_WIN64) && PJ_WIN64!=0) # define OSERR_EWOULDBLOCK WSAEWOULDBLOCK # define OSERR_EINPROGRESS WSAEINPROGRESS # define OSERR_ECONNRESET WSAECONNRESET |