From 1066e5be60eb135700f3ec41c6b184ecbe142f6e Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Thu, 21 Mar 2019 11:26:15 +0100 Subject: [PATCH] Windows, meson build : use posix *printf family function Summary: the Windows libc has different format flags for the *printf functions, fix this by using the posix version provided with mingw Test Plan: compilation Reviewers: zmike, raster, q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8432 --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index ed7c9ea81f..46eecba748 100644 --- a/meson.build +++ b/meson.build @@ -120,6 +120,7 @@ foreach lang : ['c', 'objc', 'cpp'] else error('Version of targetted Windows incorrect') endif + add_global_arguments('-D__USE_MINGW_ANSI_STDIO', language: lang) endif endforeach