summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2010-08-09 06:40:38 +0000
committerLiong Sauw Ming <ming@teluu.com>2010-08-09 06:40:38 +0000
commitff5f0ce6bf18c024c8fea500044dc68cc9dd5efe (patch)
tree5f4a300973dbb89923d1671d1ed5c697362e869d
parent4ac65d2a1c4aab3c58643f4d6dec562f16290356 (diff)
Misc fix (re #1068): Use default setting for path length (PJ_MAXPATH) on iPhone to accommodate long path name when running on the simulator.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3258 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjlib/include/pj/config_site_sample.h3
-rw-r--r--pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m2
-rw-r--r--pjsip-apps/src/pjsystest/systest.h2
3 files changed, 2 insertions, 5 deletions
diff --git a/pjlib/include/pj/config_site_sample.h b/pjlib/include/pj/config_site_sample.h
index 58733ceb..8605c982 100644
--- a/pjlib/include/pj/config_site_sample.h
+++ b/pjlib/include/pj/config_site_sample.h
@@ -305,9 +305,6 @@
/* Disable floating point support */
#define PJ_HAS_FLOATING_POINT 0
- /* Misc PJLIB setting */
- #define PJ_MAXPATH 80
-
/*
* PJMEDIA settings
*/
diff --git a/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m b/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m
index 7c1b4c7a..8a1b2f1a 100644
--- a/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m
+++ b/pjsip-apps/src/ipjsua/Classes/ipjsuaAppDelegate.m
@@ -25,7 +25,7 @@ extern pj_log_func *log_cb;
#define DEBUGGER_PRINT 1
/* Whether we should show pj log messages in the text area */
#define SHOW_LOG 1
-#define PATH_LENGTH 128
+#define PATH_LENGTH PJ_MAXPATH
extern pj_bool_t app_restart;
diff --git a/pjsip-apps/src/pjsystest/systest.h b/pjsip-apps/src/pjsystest/systest.h
index 4732a553..25444f21 100644
--- a/pjsip-apps/src/pjsystest/systest.h
+++ b/pjsip-apps/src/pjsystest/systest.h
@@ -91,7 +91,7 @@ typedef struct test_item_t
#define SYSTEST_MAX_TEST 32
extern unsigned test_item_count;
extern test_item_t test_items[SYSTEST_MAX_TEST];
-#define PATH_LENGTH 128
+#define PATH_LENGTH PJ_MAXPATH
extern char doc_path[PATH_LENGTH];
extern char res_path[PATH_LENGTH];