/pidgin/main: 93f724176d5e: Gadu-Gadu: vsnprintf is C99-complian...

Tomasz Wasilczyk twasilczyk at pidgin.im
Wed Apr 16 19:36:21 EDT 2014


Changeset: 93f724176d5ed85aee151be5da81689f60b92d13
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-04-17 01:36 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/93f724176d5e

Description:

Gadu-Gadu: vsnprintf is C99-compliant in mingw64 >= 3

diffstat:

 libpurple/protocols/gg/lib/config.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/protocols/gg/lib/config.h b/libpurple/protocols/gg/lib/config.h
--- a/libpurple/protocols/gg/lib/config.h
+++ b/libpurple/protocols/gg/lib/config.h
@@ -31,7 +31,7 @@
 
 /* Defined if this machine has C99-compiliant vsnprintf(). */
 #undef HAVE_C99_VSNPRINTF
-#ifndef _WIN32
+#if !defined(_WIN32) || (defined(__MINGW64_VERSION_MAJOR) && __MINGW64_VERSION_MAJOR >= 3)
 #  define HAVE_C99_VSNPRINTF
 #endif
 



More information about the Commits mailing list