Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-04-10 03:52:18 +0400
committerEric Andersen <andersen@codepoet.org>2001-04-10 03:52:18 +0400
commitb6b519b416189202d18d888d61d8bbe50dc30325 (patch)
treee04e4a2329b9cf5c96b31fa064e6c85dfb8b9055 /sysklogd/logread.c
parentd3f97f19718fa5890cb6cb3fd010f7b4a7bd3ae1 (diff)
Update how we detect if libc5 is in use.
-Erik
Diffstat (limited to 'sysklogd/logread.c')
-rw-r--r--sysklogd/logread.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysklogd/logread.c b/sysklogd/logread.c
index 19e8aefa6..d3349625c 100644
--- a/sysklogd/logread.c
+++ b/sysklogd/logread.c
@@ -35,9 +35,7 @@
#include <setjmp.h>
#include "busybox.h"
-/* 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
#error Sorry. Looks like you are using libc5.
#error libc5 shm support isnt good enough.
#error Please disable BB_FEATURE_IPC_SYSLOG