summaryrefslogtreecommitdiff
path: root/pjlib
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib')
-rw-r--r--pjlib/include/pj/config.h3
-rw-r--r--pjlib/include/pj/timer.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h
index 7d9f3215..b51a7585 100644
--- a/pjlib/include/pj/config.h
+++ b/pjlib/include/pj/config.h
@@ -108,7 +108,8 @@
# define PJ_SUNOS 1
# include <pj/compat/os_sunos.h>
-#elif defined(PJ_DARWINOS) || defined(__MACOSX__)
+#elif defined(PJ_DARWINOS) || defined(__MACOSX__) || \
+ defined (__APPLE__) || defined (__MACH__)
/*
* MacOS X
*/
diff --git a/pjlib/include/pj/timer.h b/pjlib/include/pj/timer.h
index a8b3eb6e..dbcae718 100644
--- a/pjlib/include/pj/timer.h
+++ b/pjlib/include/pj/timer.h
@@ -258,8 +258,8 @@ PJ_DECL(pj_status_t) pj_timer_heap_earliest_time( pj_timer_heap_t *ht,
*
* @param ht The timer heap.
* @param next_delay If this parameter is not NULL, it will be filled up with
- * the time delay until the next timer elapsed, or -1 in
- * the sec part if no entry exist.
+ * the time delay until the next timer elapsed, or
+ * PJ_MAXINT32 in the sec part if no entry exist.
*
* @return The number of timers expired.
*/