From 22f6e28487b4ab2bc91bbcc4d489a5771ac4fc61 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 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 -- 2.7.4