diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-03-20 12:39:24 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-03-20 12:39:24 +0000 |
commit | 4c8c2a65ead2089c30c431ef34c31d4e0c7b9cb3 (patch) | |
tree | 6962fbb65104c67247593d23ba204a4570533924 /pjlib/include/pj/compat/errno.h | |
parent | b54b2fc579bb9d1faa95f01d6e211b7cfed0e1bb (diff) |
Ported pjlib to PowerPC/MacOS
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@338 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj/compat/errno.h')
-rw-r--r-- | pjlib/include/pj/compat/errno.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pjlib/include/pj/compat/errno.h b/pjlib/include/pj/compat/errno.h index 8c86daa9..a385efc8 100644 --- a/pjlib/include/pj/compat/errno.h +++ b/pjlib/include/pj/compat/errno.h @@ -26,9 +26,7 @@ # define pj_get_native_os_error() GetLastError() # define pj_get_native_netos_error() WSAGetLastError() -#elif (defined(PJ_LINUX) && PJ_LINUX != 0) || \ - (defined(PJ_LINUX_KERNEL) && PJ_LINUX_KERNEL != 0) || \ - (defined(PJ_SUNOS) && PJ_SUNOS != 0) +#elif defined(PJ_HAS_ERRNO_VAR) && PJ_HAS_ERRNO_VAR!= 0 typedef int pj_os_err_type; # define pj_get_native_os_error() (errno) @@ -36,7 +34,7 @@ #else -# error "Please define pj_os_err_type for this platform here!" +# error "Please define how to get errno for this platform here!" #endif |