From: Rich Salz Date: Tue, 8 Sep 2015 01:39:44 +0000 (-0400) Subject: add support for apple os/x X-Git-Tag: OpenSSL_1_1_0-pre1~642 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5278dec375c9a2d991db4c533b60e09c6c80e6e3;p=oweals%2Fopenssl.git add support for apple os/x Reviewed-by: Richard Levitte --- diff --git a/apps/rehash.c b/apps/rehash.c index 04827f2cef..b235e1bf25 100644 --- a/apps/rehash.c +++ b/apps/rehash.c @@ -2,7 +2,6 @@ * C implementation based on the original Perl and shell versions * * Copyright (c) 2013-2014 Timo Teräs - * All rights reserved. */ /* ==================================================================== * Copyright (c) 2015 The OpenSSL Project. All rights reserved. @@ -60,7 +59,7 @@ #include "apps.h" -#ifdef unix +#if defined(unix) || defined(__APPLE__) # include # include # include @@ -480,4 +479,4 @@ int rehash_main(int argc, char **argv) return (1); } -#endif +#endif /* defined(unix) || defined(__APPLE__) */