diff --git a/admin/halog/fgets2.c b/admin/halog/fgets2.c index 3634f5576..62f107094 100644 --- a/admin/halog/fgets2.c +++ b/admin/halog/fgets2.c @@ -35,7 +35,7 @@ #endif /* memchr() is faster in glibc with SSE since commit 093ecf92998de2 */ -#if defined(__x86_64__) && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 15)) +#if defined(__x86_64__) && defined(__GLIBC__) && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 15)) #define USE_MEMCHR #endif