1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-18 00:49:50 +02:00

w32: Avoid warning when using newer mingw versions.

* g10/tdbio.c (ftruncate): Do not define if already defined.

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2015-12-19 16:54:57 +01:00
parent 2ef92bb3f8
commit 56daf9b6e5
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B

View File

@ -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