From 60f3d4440249d7beec3390df66143204ea80be39 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 7 Dec 2018 20:59:30 +0100 Subject: Silence cc warning about snprintf redefinition * src/gpgrt-int.h: First undef snprintf. -- GnuPG-bug-id: 4285 Signed-off-by: Werner Koch --- src/gpgrt-int.h | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3