diff --git a/boost/libs/filesystem/src/operations.cpp b/boost/libs/filesystem/src/operations.cpp
index c9331f9..a5f0c79 100644
a
|
b
|
namespace detail
|
1400 | 1400 | else if (prms & remove_perms) |
1401 | 1401 | prms = current_status.permissions() & ~prms; |
1402 | 1402 | |
1403 | | // Mac OS X Lion and some other platforms don't support fchmodat(). |
| 1403 | // OS X <10.10, iOS <8.0 and some other platforms don't support fchmodat(). |
1404 | 1404 | // Solaris (SunPro and gcc) only support fchmodat() on Solaris 11 and higher, |
1405 | 1405 | // and a runtime check is too much trouble. |
1406 | 1406 | // Linux does not support permissions on symbolic links and has no plans to |
… |
… |
namespace detail
|
1413 | 1413 | // "http://man7.org/linux/man-pages/man2/fchmodat.2.html" |
1414 | 1414 | # if defined(AT_FDCWD) && defined(AT_SYMLINK_NOFOLLOW) \ |
1415 | 1415 | && !(defined(__SUNPRO_CC) || defined(__sun) || defined(sun)) \ |
1416 | | && !(defined(linux) || defined(__linux) || defined(__linux__)) |
| 1416 | && !(defined(linux) || defined(__linux) || defined(__linux__)) \ |
| 1417 | && !(defined(__MAC_OS_X_VERSION_MIN_REQUIRED) \ |
| 1418 | && __MAC_OS_X_VERSION_MIN_REQUIRED < 101000) \ |
| 1419 | && !(defined(__IPHONE_OS_VERSION_MIN_REQUIRED) \ |
| 1420 | && __IPHONE_OS_VERSION_MIN_REQUIRED < 80000) |
1417 | 1421 | if (::fchmodat(AT_FDCWD, p.c_str(), mode_cast(prms), |
1418 | 1422 | !(prms & symlink_perms) ? 0 : AT_SYMLINK_NOFOLLOW)) |
1419 | 1423 | # else // fallback if fchmodat() not supported |