[vlc-commits] Work-around fdatasync broken on Darwin
Jean-Baptiste Kempf
git at videolan.org
Thu Sep 22 11:00:31 CEST 2016
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Sep 22 10:59:57 2016 +0200| [4fcfacad545d71cfe898f799375e7646f54cf97d] | committer: Jean-Baptiste Kempf
Work-around fdatasync broken on Darwin
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4fcfacad545d71cfe898f799375e7646f54cf97d
---
include/vlc_fixups.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 03904f3..7a76ef4 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -485,6 +485,10 @@ void freeaddrinfo (struct addrinfo *res);
FILE *vlc_win32_tmpfile(void);
#endif
+#ifdef __APPLE__
+# define fdatasync fsync
+#endif
+
#ifdef __cplusplus
} /* extern "C" */
#endif
More information about the vlc-commits
mailing list