Skip to content

Commit ec465fc

Browse files
committed
Merge branch 'rs/no-openssl-compilation-fix-on-macos'
Build fix. * rs/no-openssl-compilation-fix-on-macos: git-compat-util: fix NO_OPENSSL on current macOS
2 parents 050e334 + 44bdba2 commit ec465fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git-compat-util.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ char *gitdirname(char *);
403403

404404
#ifndef NO_OPENSSL
405405
#ifdef __APPLE__
406+
#undef __AVAILABILITY_MACROS_USES_AVAILABILITY
406407
#define __AVAILABILITY_MACROS_USES_AVAILABILITY 0
407408
#include <AvailabilityMacros.h>
408409
#undef DEPRECATED_ATTRIBUTE

0 commit comments

Comments
 (0)