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
maint
Junio C Hamano 2024-04-23 11:52:38 -07:00
commit ec465fcb75
1 changed files with 1 additions and 0 deletions

View File

@ -403,6 +403,7 @@ char *gitdirname(char *);


#ifndef NO_OPENSSL #ifndef NO_OPENSSL
#ifdef __APPLE__ #ifdef __APPLE__
#undef __AVAILABILITY_MACROS_USES_AVAILABILITY
#define __AVAILABILITY_MACROS_USES_AVAILABILITY 0 #define __AVAILABILITY_MACROS_USES_AVAILABILITY 0
#include <AvailabilityMacros.h> #include <AvailabilityMacros.h>
#undef DEPRECATED_ATTRIBUTE #undef DEPRECATED_ATTRIBUTE