mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 21:58:08 +00:00
Prepare code for Android NDK r15c with API 26 target
This commit is contained in:
parent
0540ba4105
commit
83a3cf7ad4
1 changed files with 2 additions and 0 deletions
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
|
||||
/*getline is POSIX 2008, not available on many systems.*/
|
||||
/* If Android target is set to 26 (with NDK r15c), use the following instead
|
||||
#if defined(_WIN32) || defined(__QNX__)*/
|
||||
#if (defined(__ANDROID__) && !defined(__LP64__)) || defined(_WIN32) || defined(__QNX__)
|
||||
/* This code is public domain -- Will Hartung 4/9/09 */
|
||||
static ssize_t getline(char **lineptr, size_t *n, FILE *stream) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue