aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-12-07 19:59:30 +0000
committerWerner Koch <[email protected]>2018-12-07 19:59:48 +0000
commit60f3d4440249d7beec3390df66143204ea80be39 (patch)
treecc02a39259b467f76058463950d3db2bee8858b9
parentPost release updates (diff)
downloadlibgpg-error-60f3d4440249d7beec3390df66143204ea80be39.tar.gz
libgpg-error-60f3d4440249d7beec3390df66143204ea80be39.zip
Silence cc warning about snprintf redefinition
* src/gpgrt-int.h: First undef snprintf. -- GnuPG-bug-id: 4285 Signed-off-by: Werner Koch <[email protected]>
-rw-r--r--src/gpgrt-int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgrt-int.h b/src/gpgrt-int.h
index e326400..17244c5 100644
--- a/src/gpgrt-int.h
+++ b/src/gpgrt-int.h
@@ -464,6 +464,7 @@ const char *_gpgrt_fname_get (gpgrt_stream_t stream);
#include "estream-printf.h"
/* Make sure we always use our snprintf */
+#undef snprintf
#define snprintf _gpgrt_estream_snprintf