From 94f0df9db7d80eea063721a2c6f466f24f7d2086 Mon Sep 17 00:00:00 2001
From: Edric Milaret <edric.ladent-milaret@savoirfairelinux.com>
Date: Fri, 28 Aug 2015 11:27:50 -0400
Subject: [PATCH] logger: Fix for unsupported z formatter on win32

Introduced by commit c974ad818381d76b

Issue: #79584
Change-Id: Ia4c16d9dee2bcd2fc32b3494f1b2417b8dca87f6
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index b22724f01e..92f23890e0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,7 +76,7 @@ case "${host_os}" in
 
     AC_DEFINE([WIN32_LEAN_AND_MEAN],, [Define to limit the scope of <windows.h>.])
 
-    CPPFLAGS+="-D_WIN32_WINNT=0x0601 -DWINVER=0x0601"
+    CPPFLAGS+="-D_WIN32_WINNT=0x0601 -DWINVER=0x0601 -D__USE_MINGW_ANSI_STDIO=1"
     LDFLAGS+="-no-undefined -avoid-version -Wl,--nxcompat -Wl,--dynamicbase"
     ac_default_prefix="`pwd`/_win32"
     DESTDIR="`pwd`/_win32/"
-- 
GitLab