summaryrefslogtreecommitdiff
path: root/pjlib/src/pj/ioqueue_select.c
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2011-03-31 05:54:16 +0000
committerBenny Prijono <bennylp@teluu.com>2011-03-31 05:54:16 +0000
commit791727f49f2a8abd1e4a042581ca03e137afe3a0 (patch)
tree1786a4575c02e7c6b8f97b0d6f7d2d521077c3d6 /pjlib/src/pj/ioqueue_select.c
parent44601d3deeb255f498b9c2b58ea322871f1a91b9 (diff)
Fixed #1225: iPhone: UDP socket send error after waking up from background mode (thanks Joe Meade for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3491 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pj/ioqueue_select.c')
-rw-r--r--pjlib/src/pj/ioqueue_select.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pjlib/src/pj/ioqueue_select.c b/pjlib/src/pj/ioqueue_select.c
index 3125bae7..52b9ee78 100644
--- a/pjlib/src/pj/ioqueue_select.c
+++ b/pjlib/src/pj/ioqueue_select.c
@@ -125,7 +125,10 @@ struct pj_ioqueue_t
};
/* Proto */
+#if defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \
+ PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0
static pj_status_t replace_udp_sock(pj_ioqueue_key_t *h);
+#endif
/* Include implementation for common abstraction after we declare
* pj_ioqueue_key_t and pj_ioqueue_t.