Fixed compilation for machines without sync_file_range()
This commit is contained in:
parent
87a70f29bc
commit
863586135e
1 changed files with 2 additions and 2 deletions
|
@ -182,9 +182,9 @@ static void pfForceRangePageFile(lsn_t start, lsn_t stop) {
|
|||
assert(!ret);
|
||||
#else
|
||||
#ifdef HAVE_FDATASYNC
|
||||
fdatasync(fd);
|
||||
fdatasync(stable);
|
||||
#else
|
||||
fsync(fd);
|
||||
fsync(stable);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue