Adding addTaskFuture and addTaskRemoteFuture to FiberManager.
[folly.git] / folly / FileUtil.cpp
index a62b365e4cceab729a89a9503dfa78f3129d1ec5..728f1d268dce82aa4f47bef8ee4dff14c0c19b38 100644 (file)
@@ -65,7 +65,7 @@ int dup2NoInt(int oldfd, int newfd) {
 int fdatasyncNoInt(int fd) {
 #if defined(__APPLE__)
   return wrapNoInt(fcntl, fd, F_FULLFSYNC);
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(_MSC_VER)
   return wrapNoInt(fsync, fd);
 #else
   return wrapNoInt(fdatasync, fd);