summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/compat/os_linux.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-03-20 12:39:24 +0000
committerBenny Prijono <bennylp@teluu.com>2006-03-20 12:39:24 +0000
commit4c8c2a65ead2089c30c431ef34c31d4e0c7b9cb3 (patch)
tree6962fbb65104c67247593d23ba204a4570533924 /pjlib/include/pj/compat/os_linux.h
parentb54b2fc579bb9d1faa95f01d6e211b7cfed0e1bb (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/os_linux.h')
-rw-r--r--pjlib/include/pj/compat/os_linux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/pjlib/include/pj/compat/os_linux.h b/pjlib/include/pj/compat/os_linux.h
index 24faa228..fe3a29dd 100644
--- a/pjlib/include/pj/compat/os_linux.h
+++ b/pjlib/include/pj/compat/os_linux.h
@@ -43,6 +43,7 @@
#define PJ_HAS_SYS_IOCTL_H 1
#define PJ_HAS_SYS_SELECT_H 1
#define PJ_HAS_SYS_SOCKET_H 1
+#define PJ_HAS_SYS_TIME_H 0
#define PJ_HAS_SYS_TIMEB_H 1
#define PJ_HAS_SYS_TYPES_H 1
#define PJ_HAS_TIME_H 1
@@ -53,6 +54,11 @@
#define PJ_HAS_WINSOCK2_H 0
#define PJ_SOCK_HAS_INET_ATON 1
+#define PJ_SOCKADDR_HAS_LEN 0
+
+/* Is errno a good way to retrieve OS errors?
+ */
+#define PJ_HAS_ERRNO_VAR 1
/* When this macro is set, getsockopt(SOL_SOCKET, SO_ERROR) will return
* the status of non-blocking connect() operation.