summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/compat/os_darwinos.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/include/pj/compat/os_darwinos.h')
-rw-r--r--pjlib/include/pj/compat/os_darwinos.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pjlib/include/pj/compat/os_darwinos.h b/pjlib/include/pj/compat/os_darwinos.h
index e797c438..ce423333 100644
--- a/pjlib/include/pj/compat/os_darwinos.h
+++ b/pjlib/include/pj/compat/os_darwinos.h
@@ -135,6 +135,9 @@ typedef int socklen_t;
*/
#define PJ_THREAD_ALLOCATE_STACK 0
+/* Oh well.. MacOS 10.2 doesn't have socklen_t, but 10.4 has! */
+#define PJ_HAS_SOCKLEN_T 0
+
#endif /* __PJ_COMPAT_OS_DARWINOS_H__ */