From b6b519b416189202d18d888d61d8bbe50dc30325 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 9 Apr 2001 23:52:18 +0000 Subject: Update how we detect if libc5 is in use. -Erik --- libbb/libbb.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libbb/libbb.h') diff --git a/libbb/libbb.h b/libbb/libbb.h index 0001cac6f..6133b19d3 100644 --- a/libbb/libbb.h +++ b/libbb/libbb.h @@ -34,9 +34,8 @@ #endif #include -/* Stupid libc doesn't have a reliable way for use to know - * that libc5 is being used. Assume this is good enough */ -#if ! defined __GLIBC__ && ! defined __UCLIBC__ + +#if __GNU_LIBRARY__ < 5 /* libc5 doesn't define socklen_t */ typedef unsigned int socklen_t; /* libc5 doesn't implement BSD 4.4 daemon() */ -- cgit v1.2.3