mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01: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:
parent
2ef92bb3f8
commit
56daf9b6e5
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user