qtmux: handle msvc ftruncate incompatibility

Fixes #636185.
This commit is contained in:
David Hoyt 2010-12-01 10:45:49 +01:00 committed by Tim-Philipp Müller
parent 04b0a37f87
commit 62484ac805

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