Subject: | Availability of OS X functions |
Hi,
the check
#if defined(MAC_OS_X_VERSION_10_5)
does not tell you if the functions available from 10.5 onwards are available in your build
environment.
Under versions 10.5 and 10.6 Perl may have been built for different targets, so the check
needs to be
#if (defined(MAC_OS_X_VERSION_10_5) && (MAC_OS_X_VERSION_MIN_REQUIRED >=
MAC_OS_X_VERSION_10_5))
similarly
#if (defined(MAC_OS_X_VERSION_10_6) && (MAC_OS_X_VERSION_MIN_REQUIRED >=
MAC_OS_X_VERSION_10_6))
regards
Mark