aboutsummaryrefslogtreecommitdiff
path: root/dpkg.c
diff options
context:
space:
mode:
authormarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-15 17:39:29 +0000
committermarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-15 17:39:29 +0000
commit47e26531c4206efcf941deef37ffd5d0449c77a2 (patch)
treeb25dd6e949f29c38a331a0c90314887f6eebb5b0 /dpkg.c
parentc48a91e8587d31597b9509b4240ab204055faee9 (diff)
downloadbusybox-w32-47e26531c4206efcf941deef37ffd5d0449c77a2.tar.gz
busybox-w32-47e26531c4206efcf941deef37ffd5d0449c77a2.tar.bz2
busybox-w32-47e26531c4206efcf941deef37ffd5d0449c77a2.zip
If only BB_DPKG was enabled in Config.h, busybox would not build; it'd say:
dpkg.c:18: #error It looks like you are using libc5, which does not support dpkg.c:19: #error tfind(). tfind() is used by busybox dpkg. dpkg.c:20: #error Please disable BB_DPKG. Sorry. This was fixed by changing the || to an && in the preprocessor. (We've changed the logic in there too many times.) Found using multibuild.pl. git-svn-id: svn://busybox.net/trunk/busybox@2085 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'dpkg.c')
-rw-r--r--dpkg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpkg.c b/dpkg.c
index 4720a8820..d65081715 100644
--- a/dpkg.c
+++ b/dpkg.c
@@ -14,7 +14,7 @@
14 14
15/* Stupid libc doesn't have a reliable way for use to know 15/* Stupid libc doesn't have a reliable way for use to know
16 * that libc5 is being used. Assume this is good enough */ 16 * that libc5 is being used. Assume this is good enough */
17#if !defined __GLIBC__ || !defined __UCLIBC__ 17#if !defined __GLIBC__ && !defined __UCLIBC__
18#error It looks like you are using libc5, which does not support 18#error It looks like you are using libc5, which does not support
19#error tfind(). tfind() is used by busybox dpkg. 19#error tfind(). tfind() is used by busybox dpkg.
20#error Please disable BB_DPKG. Sorry. 20#error Please disable BB_DPKG. Sorry.