diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/portability.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/portability.h b/lib/portability.h index 75576204..86484c7f 100644 --- a/lib/portability.h +++ b/lib/portability.h @@ -145,7 +145,7 @@ int clearenv(void); #define SWAP_LE64(x) (x) #endif -#if defined(__APPLE__) || defined(__ANDROID__) || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 10) +#if defined(__APPLE__) || defined(__ANDROID__) || (defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ < 10) ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream); ssize_t getline(char **lineptr, size_t *n, FILE *stream); #endif |