qtmux: handle msvc ftruncate incompatibility

Fixes #636185.
This commit is contained in:
David Hoyt 2010-12-01 10:45:49 +01:00 committed by Mark Nauwelaerts
parent a55a94e72b
commit c79aba9e1e

View file

@ -84,6 +84,10 @@
#define off_t guint64
#endif
#ifdef _MSC_VER
#define ftruncate g_win32_ftruncate
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif