diff --git a/tester/log_collection_tester.c b/tester/log_collection_tester.c index f4f59c82f..9830b355b 100644 --- a/tester/log_collection_tester.c +++ b/tester/log_collection_tester.c @@ -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) {