From b204648b75886da58b612d79d15c234ca3565e70 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sat, 31 May 2008 18:07:07 +0000 Subject: [PATCH] Don't define UNIX when building zip as a build tool under a BeOS compatible host. This prevents the BeOS and Unix specific zipup.h from clashing and allows hybrid GCC2/GCC4 images to be built under BeOS. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25741 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tools/zip/Jamfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/tools/zip/Jamfile b/src/tools/zip/Jamfile index 3ffd3aa3d5..6c9bcd6f0a 100644 --- a/src/tools/zip/Jamfile +++ b/src/tools/zip/Jamfile @@ -4,7 +4,9 @@ SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src bin zip ] ; USES_BE_API on zip = true ; -DEFINES += UNIX ; +if ! $(HOST_PLATFORM_BEOS_COMPATIBLE) { + DEFINES += UNIX ; +} BuildPlatformMain zip : beos.c