Commit 61aec26f authored by Sébastien Toque's avatar Sébastien Toque Committed by Jean-Baptiste Kempf

Don't use fdatasync on Android

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 6d44c8cb
......@@ -578,7 +578,7 @@ static int SaveConfigFile (vlc_object_t *p_this)
goto error;
#if !defined( WIN32 ) && !defined( __OS2__ )
#ifdef __APPLE__
#if defined(__APPLE__) || defined(__ANDROID__)
fsync (fd); /* Flush from OS */
fdatasync (fd); /* Flush from OS */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment