Skip to content

Commit

Permalink
fix: set lower bound macOS version to 101000 (ocaml#8318)
Browse files Browse the repository at this point in the history
macOS 10.7 actually has a version number of 1007, and it isn't until
macOS 10.10 that version numbers start using 6 digits:

https://opensource.apple.com/source/xnu/xnu-3247.10.11/EXTERNAL_HEADERS/AvailabilityMacros.h.auto.html

This version "bump" actually preserves the existing behavior but makes
it more clear.

Signed-off-by: Kevin Ji <1146876+kevinji@users.noreply.github.com>
  • Loading branch information
kevinji authored Aug 2, 2023
1 parent 444c769 commit 727feed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fsevents/fsevents_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <AvailabilityMacros.h>
#endif

#if defined(__APPLE__) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 100700
#if defined(__APPLE__) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 101000

#include <CoreFoundation/CoreFoundation.h>
#include <CoreServices/CoreServices.h>
Expand Down

0 comments on commit 727feed

Please sign in to comment.