fdatasync is not documented on Snow Leopard and is not in unistd.h
CMake finds it as it is expored by system libraries, though attempts to use it will result bring a warning. Fix by using CHECK_SYMBOL_EXISTS instead of CHECK_FUNCTION_EXISTS
Showing
Please register or sign in to comment