diff options
author | wm4 <wm4@mplayer2.org> | 2012-01-31 08:32:06 +0100 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-03-01 00:22:29 +0200 |
commit | 25417a626d0b9077bfbb940952f3858d7b8b549b (patch) | |
tree | e2f61063948b29a9e9fdb5c00fad8a571a367504 /libvo/vo_directx.c | |
parent | eebe9309ecd70f86f0a52f09712db833df589206 (diff) | |
download | mpv-25417a626d0b9077bfbb940952f3858d7b8b549b.tar.bz2 mpv-25417a626d0b9077bfbb940952f3858d7b8b549b.tar.xz |
windows: fix format string attributes on MinGW
MinGW maps the "printf" format string archetype to the non-standard
MSVCRT functions, even if __USE_MINGW_ANSI_STDIO is defined and set
to 1. We need to use "gnu_printf" to use the format strings as provided
by vsnprintf and similar functions to get correct warnings.
Since "gnu_printf" isn't necessarily available on other GCC compatible
compilers (such as clang), do this only on MinGW.
Diffstat (limited to 'libvo/vo_directx.c')
0 files changed, 0 insertions, 0 deletions