mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
filesink: Fix Windows build by using _commit instead of fsync.
This commit is contained in:
parent
5ba9e9d9a8
commit
ef2a4083af
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@
|
||||||
#define ftruncate _chsize
|
#define ftruncate _chsize
|
||||||
#ifdef _MSC_VER /* Check if we are using MSVC, fileno is deprecated in favour */
|
#ifdef _MSC_VER /* Check if we are using MSVC, fileno is deprecated in favour */
|
||||||
#define fileno _fileno /* of _fileno */
|
#define fileno _fileno /* of _fileno */
|
||||||
|
#undef fsync
|
||||||
|
#define fsync _commit
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue