Skip to content

Commit bb402a2

Browse files
committed
macOS: define OS version macro if missing
1 parent 48b350e commit bb402a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

git-compat-util.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,11 @@ void bug_fl(const char *file, int line, const char *fmt, ...);
10101010
#endif
10111011
#endif
10121012

1013+
#ifdef __APPLE__
1014+
#ifndef __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
1015+
#define __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__ 140000
1016+
#endif
1017+
10131018
#ifndef SHELL_PATH
10141019
# define SHELL_PATH "/bin/sh"
10151020
#endif

0 commit comments

Comments
 (0)