Unresolved _fchmodat on Mac 10.9

Undefined

With Boost 1.57 on Mac 10.9 with clang++ 6.0.1 installed, I have faced an error "_fchmodat" symbol not found.

I was just quick fix by changing source code;

boost_1_57_0/libs/filesystem/src/operations.cpp, change code around 1420 as following;

#   if defined(AT_FDCWD) && defined(AT_SYMLINK_NOFOLLOW) \
      && !(defined(__SUNPRO_CC) || defined(__sun) || defined(sun)) \
      && !(defined(linux) || defined(__linux) || defined(__linux__)) \
      && !(defined(__APPLE__))

 

User login