mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 21:58:08 +00:00
tester: fix compilation error on mobile
This commit is contained in:
parent
d068d8914b
commit
fcc39924ff
2 changed files with 3 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 3211245a9f03e8b7ad39d6e6343e3f86b9b0460d
|
||||
Subproject commit 5a8163e9eabfe31cb0b8ae4e3ca1448d1e45a268
|
||||
|
|
@ -335,6 +335,7 @@ void bc_tester_helper(const char *name, const char* additionnal_helper) {
|
|||
additionnal_helper);
|
||||
}
|
||||
|
||||
#if !defined(BC_TESTER_WINDOWS_PHONE) && !defined(BC_TESTER_WINDOWS_UNIVERSAL) && !defined(__QNX__) && !defined(ANDROID) && !defined(IOS)
|
||||
static int file_exists(const char* root_path) {
|
||||
char * res_path = bc_sprintf("%s/common/bc_completion", root_path);
|
||||
FILE* file = fopen(res_path, "r");
|
||||
|
|
@ -345,6 +346,7 @@ static int file_exists(const char* root_path) {
|
|||
}
|
||||
return found;
|
||||
}
|
||||
#endif
|
||||
|
||||
static void detect_res_prefix(const char* prog) {
|
||||
char* progpath = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue