From 91c1b58f8212e6078bb1b2de3cffc6e03c7ffaaf Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 29 Oct 2007 22:27:43 +0000 Subject: [PATCH] Attempt to make unzip build for MacOS X as well. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22765 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/unzip/unzip.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bin/unzip/unzip.h b/src/bin/unzip/unzip.h index 9f36ac95c7..65b84caeb3 100644 --- a/src/bin/unzip/unzip.h +++ b/src/bin/unzip/unzip.h @@ -103,6 +103,11 @@ freely, subject to the following restrictions: # define UNIX # endif #endif /* CONVEX || MINIX || _AIX || __QNX__ */ +#if (defined(__APPLE__)) +# ifndef UNIX +# define UNIX +# endif +#endif /* __APPLE__ */ #if (defined(VM_CMS) || defined(MVS)) # define CMS_MVS