From 700e3b685af930a724634de3488236ef2e2d2bf1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 24 Nov 2004 16:16:36 +0000 Subject: [PATCH] mingw has a ftruncate() function --- src/config-win32.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/config-win32.h b/src/config-win32.h index b9c407060..bfd014ef0 100644 --- a/src/config-win32.h +++ b/src/config-win32.h @@ -2,6 +2,11 @@ /* Define if you have the stricmp function. */ #define HAVE_STRICMP 1 +#ifdef MINGW32 +/* Define to 1 if you have the `ftruncate' function. */ +#define HAVE_FTRUNCATE 1 +#endif + /* Define to 1 if you want the built-in manual */ #define USE_MANUAL 1