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
This commit is contained in:
Vincent Torri 2019-03-21 11:26:15 +01:00 committed by Daniel Kolesa
parent b747af5181
commit 1066e5be60
1 changed files with 1 additions and 0 deletions

View File

@ -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