summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2000-03-07 15:37:17 +0000
committerjbj <devnull@localhost>2000-03-07 15:37:17 +0000
commitacdafeca5ca650d1944e45b94bc6a60ff3fb67a2 (patch)
tree6a8b89386d8f36ed79bbd4fd36a1349abd6ed4d7 /lib
parent8787c03f2d0872a24cdd23efaba5aa744ddea481 (diff)
downloadlibrpm-tizen-acdafeca5ca650d1944e45b94bc6a60ff3fb67a2.tar.gz
librpm-tizen-acdafeca5ca650d1944e45b94bc6a60ff3fb67a2.tar.bz2
librpm-tizen-acdafeca5ca650d1944e45b94bc6a60ff3fb67a2.zip
portability: zlib-1.0.4 has not gzseek
portability: Red Hat 4.x has not personality CVS patchset: 3609 CVS date: 2000/03/07 15:37:17
Diffstat (limited to 'lib')
-rw-r--r--lib/rpmrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmrc.c b/lib/rpmrc.c
index 3dc3e5cf0..b70d0726a 100644
--- a/lib/rpmrc.c
+++ b/lib/rpmrc.c
@@ -935,7 +935,7 @@ static void defaultMachine(const char ** arch, const char ** os) {
}
# endif /* hpux */
-# if defined(__linux__) && defined(__sparc__)
+# if HAVE_PERSONALITY && defined(__linux__) && defined(__sparc__)
if (!strcmp(un.machine, "sparc")) {
#define PERS_LINUX 0x00000000
#define PERS_LINUX_32BIT 0x00800000