Skip to content
Snippets Groups Projects
Commit 4ac5a610 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Another attempt to fix fdatasync() on Darwin and FreeBSD

Use check_symbol_exists(), not check_function_exists(),
to discover fdatasync(), since apparently on some BSD systems
the symbol is present in the library but not in the headers
(I hope not vice versa).

Don't use check_prototype_definition, since it's not available
in CMake 2.6.
parent 82ad01c2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment