Skip to content

Commit

Permalink
Be explicit about OS version (zherczeg#179)
Browse files Browse the repository at this point in the history
via macports, allows pcre2 to build with jit support on OS X 10.4
  • Loading branch information
sevan committed Aug 18, 2023
1 parent 351d9af commit 976e5d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sljit_src/sljitConfigInternal.h
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,9 @@ extern "C" {
/* Not required to implement on archs with unified caches. */
#define SLJIT_CACHE_FLUSH(from, to)

#elif defined __APPLE__
#elif defined __APPLE__ && \
defined __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ && \
__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050

/* Supported by all macs since Mac OS 10.5.
However, it does not work on non-jailbroken iOS devices,
Expand Down

0 comments on commit 976e5d8

Please sign in to comment.