]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-compat-util.h
git-compat-util: fix NO_OPENSSL on current macOS
[thirdparty/git.git] / git-compat-util.h
index 9bfd7ce76d027b8dbbbd5be1fc67e92f26c4acfa..64bbdae7f13b251f1de8d71003fdec8d7d43b342 100644 (file)
@@ -358,6 +358,7 @@ char *gitdirname(char *);
 
 #ifndef NO_OPENSSL
 #ifdef __APPLE__
+#undef __AVAILABILITY_MACROS_USES_AVAILABILITY
 #define __AVAILABILITY_MACROS_USES_AVAILABILITY 0
 #include <AvailabilityMacros.h>
 #undef DEPRECATED_ATTRIBUTE