зеркало из https://github.com/mozilla/gecko-dev.git
Bug 898810 - Use bionic's getline where available, r=benwa
This commit is contained in:
Родитель
64399c7810
Коммит
58609a7075
|
@ -14,8 +14,8 @@
|
|||
#include "platform.h"
|
||||
#include "shared-libraries.h"
|
||||
|
||||
#ifndef __GLIBC__
|
||||
/* a crapy version of getline, because it's not included in bionic */
|
||||
#if !defined(__GLIBC__) && ANDROID_VERSION < 18
|
||||
/* a crapy version of getline, because it's not included in old bionics */
|
||||
static ssize_t getline(char **lineptr, size_t *n, FILE *stream)
|
||||
{
|
||||
char *ret;
|
||||
|
|
Загрузка…
Ссылка в новой задаче