qtmux: handle msvc ftruncate incompatibility
authorDavid Hoyt <dhoyt@llnl.gov>
Wed, 1 Dec 2010 09:45:49 +0000 (10:45 +0100)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Wed, 1 Dec 2010 09:48:51 +0000 (10:48 +0100)
Fixes #636185.

gst/qtmux/gstqtmux.c

index f2ad775..75594f6 100644 (file)
 #define off_t guint64
 #endif
 
+#ifdef _MSC_VER
+#define ftruncate g_win32_ftruncate
+#endif
+
 #ifdef HAVE_UNISTD_H
 #  include <unistd.h>
 #endif