diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-15 18:20:23 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-15 18:20:23 +0000 |
commit | 56f18fa7f983e846a9b02b132ee847083c746924 (patch) | |
tree | 75794f0a910c381ba54b2db53f802ad6637c47e7 /sysklogd | |
parent | 2b028f31db27ceb1efe36073b6986c8f21fd2b8f (diff) | |
download | busybox-w32-56f18fa7f983e846a9b02b132ee847083c746924.tar.gz busybox-w32-56f18fa7f983e846a9b02b132ee847083c746924.tar.bz2 busybox-w32-56f18fa7f983e846a9b02b132ee847083c746924.zip |
Move the warning msg after features.h gets pulled in.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@2091 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/logread.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/sysklogd/logread.c b/sysklogd/logread.c index a89daccbb..17f6a54d6 100644 --- a/sysklogd/logread.c +++ b/sysklogd/logread.c | |||
@@ -24,14 +24,6 @@ | |||
24 | */ | 24 | */ |
25 | 25 | ||
26 | 26 | ||
27 | /* Stupid libc doesn't have a reliable way for use to know | ||
28 | * that libc5 is being used. Assume this is good enough */ | ||
29 | #if ! defined __GLIBC__ || ! defined __UCLIBC__ | ||
30 | #error Sorry. Looks like you are using libc5. | ||
31 | #error libc5 shm support isnt good enough. | ||
32 | #error Please disable BB_FEATURE_IPC_SYSLOG | ||
33 | #endif | ||
34 | |||
35 | #include <stdio.h> | 27 | #include <stdio.h> |
36 | #include <stdlib.h> | 28 | #include <stdlib.h> |
37 | #include <string.h> | 29 | #include <string.h> |
@@ -43,6 +35,15 @@ | |||
43 | #include <setjmp.h> | 35 | #include <setjmp.h> |
44 | #include "busybox.h" | 36 | #include "busybox.h" |
45 | 37 | ||
38 | /* Stupid libc doesn't have a reliable way for use to know | ||
39 | * that libc5 is being used. Assume this is good enough */ | ||
40 | #if ! defined __GLIBC__ && ! defined __UCLIBC__ | ||
41 | #error Sorry. Looks like you are using libc5. | ||
42 | #error libc5 shm support isnt good enough. | ||
43 | #error Please disable BB_FEATURE_IPC_SYSLOG | ||
44 | #endif | ||
45 | |||
46 | |||
46 | static const long KEY_ID = 0x414e4547; /*"GENA"*/ | 47 | static const long KEY_ID = 0x414e4547; /*"GENA"*/ |
47 | 48 | ||
48 | static struct shbuf_ds { | 49 | static struct shbuf_ds { |