aboutsummaryrefslogtreecommitdiffstats
path: root/g10/tdbio.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/tdbio.c')
-rw-r--r--g10/tdbio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/tdbio.c b/g10/tdbio.c
index db7a67c05..2b9d4ff55 100644
--- a/g10/tdbio.c
+++ b/g10/tdbio.c
@@ -38,7 +38,7 @@
#include "trustdb.h"
#include "tdbio.h"
-#if defined(HAVE_DOSISH_SYSTEM)
+#if defined(HAVE_DOSISH_SYSTEM) && !defined(ftruncate)
#define ftruncate chsize
#endif