Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bctoolbox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
bctoolbox
Commits
33fcf86a
Commit
33fcf86a
authored
Mar 08, 2017
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use correct macro to detect Android build.
parent
3934c659
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
tester.c
src/tester.c
+2
-2
port.c
src/utils/port.c
+1
-1
bctoolbox_tester.c
tester/bctoolbox_tester.c
+1
-1
No files found.
src/tester.c
View file @
33fcf86a
...
...
@@ -406,7 +406,7 @@ int bc_tester_run_tests(const char *suite_name, const char *test_name, const cha
}
#if !defined(BC_TESTER_WINDOWS_PHONE) && !defined(BC_TESTER_WINDOWS_UNIVERSAL) && !defined(__QNX__) && !defined(
ANDROID
) && !defined(IOS)
#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/%s"
,
root_path
,
expected_res
);
int
err
=
bctbx_file_exist
(
res_path
);
...
...
@@ -441,7 +441,7 @@ static void detect_res_prefix(const char* prog) {
progname
=
strdup
(
ptr
+
1
);
}
}
#if !defined(BC_TESTER_WINDOWS_PHONE) && !defined(BC_TESTER_WINDOWS_UNIVERSAL) && !defined(__QNX__) && !defined(
ANDROID
) && !defined(IOS)
#if !defined(BC_TESTER_WINDOWS_PHONE) && !defined(BC_TESTER_WINDOWS_UNIVERSAL) && !defined(__QNX__) && !defined(
__ANDROID__
) && !defined(IOS)
{
char
*
prefix
=
NULL
;
char
*
installed_resources_path
=
NULL
;
...
...
src/utils/port.c
View file @
33fcf86a
...
...
@@ -1082,7 +1082,7 @@ static struct addrinfo *convert_to_v4mapped(const struct addrinfo *ai){
return
res
;
}
#if defined(
ANDROID
) || defined(_WIN32)
#if defined(
__ANDROID__
) || defined(_WIN32)
/*
* SHAME !!! bionic's getaddrinfo does not implement the AI_V4MAPPED flag !
...
...
tester/bctoolbox_tester.c
View file @
33fcf86a
...
...
@@ -69,7 +69,7 @@ int bctoolbox_tester_set_log_file(const char *filename) {
}
#if !defined(
ANDROID
) && !(defined(BCTBX_WINDOWS_PHONE) || defined(BCTBX_WINDOWS_UNIVERSAL))
#if !defined(
__ANDROID__
) && !(defined(BCTBX_WINDOWS_PHONE) || defined(BCTBX_WINDOWS_UNIVERSAL))
static
const
char
*
bctoolbox_helper
=
"
\t\t\t
--verbose
\n
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment