filesink: Fix Windows build by using _commit instead of fsync.
This commit is contained in:
parent
5ba9e9d9a8
commit
ef2a4083af
@ -60,6 +60,8 @@
|
||||
#define ftruncate _chsize
|
||||
#ifdef _MSC_VER /* Check if we are using MSVC, fileno is deprecated in favour */
|
||||
#define fileno _fileno /* of _fileno */
|
||||
#undef fsync
|
||||
#define fsync _commit
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user