From c319601db5296e9d26c7ce0738c4507b51958dda Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 14 Mar 2001 01:15:06 +0000 Subject: Some updates for libc5 --- logread.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'logread.c') diff --git a/logread.c b/logread.c index 66054e6..85c1e24 100644 --- a/logread.c +++ b/logread.c @@ -23,6 +23,15 @@ * */ + +/* 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__ +#error Sorry. Looks like you are using libc5. +#error libc5 shm support isn't good enough. +#error Please disable BB_FEATURE_IPC_SYSLOG +#endif + #include #include #include @@ -134,4 +143,3 @@ static void error_exit(const char *str){ exit(1); } - -- cgit v1.1