From: Vincent Torri Date: Thu, 21 Mar 2019 10:26:15 +0000 (+0100) Subject: Windows, meson build : use posix *printf family function X-Git-Tag: submit/tizen/20190402.051338~116 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22f6e28487b4ab2bc91bbcc4d489a5771ac4fc61;p=platform%2Fupstream%2Fefl.git 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 --- diff --git a/meson.build b/meson.build index c6d30b4..03648fb 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