about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util/vasprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/vasprintf.c b/lib/util/vasprintf.c
index a4229c70..9d8fe590 100644
--- a/lib/util/vasprintf.c
+++ b/lib/util/vasprintf.c
@@ -7,7 +7,7 @@
 
 #include "nstring.h"
 
-#ifdef __GNUC__
+#if defined(__GNUC__) && !defined(__MINGW32__)
   #define HAVE_VASPRINTF 1
 #else
   #define HAVE_VASPRINTF 0