aboutsummaryrefslogtreecommitdiff
path: root/libbb/vdprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/vdprintf.c')
-rw-r--r--libbb/vdprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/vdprintf.c b/libbb/vdprintf.c
index ffcb7a444..ea2a9d4bf 100644
--- a/libbb/vdprintf.c
+++ b/libbb/vdprintf.c
@@ -13,7 +13,7 @@
-#if (__GLIBC__ < 2)
+#if defined(__GLIBC__) && __GLIBC__ < 2
int vdprintf(int d, const char *format, va_list ap)
{
char buf[BUF_SIZE];