[quake3-commits] [ioquake/ioq3] 83119a: Fix Q_vsnprintf for mingw-w64

Zack Middleton zack at cloemail.com
Sun Feb 4 09:08:58 EST 2018


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 83119a990a160e9c1e19dc06e04ae8f947a57904
      https://github.com/ioquake/ioq3/commit/83119a990a160e9c1e19dc06e04ae8f947a57904
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2018-02-04 (Sun, 04 Feb 2018)

  Changed paths:
    M code/qcommon/q_shared.c
    M code/qcommon/q_shared.h

  Log Message:
  -----------
  Fix Q_vsnprintf for mingw-w64

By default mingw-w64 uses Microsoft's broken _vsnprintf() in msvcrt.dll.
It can be overriden by defining __USE_MINGW_ANSI_STDIO but let's just
use the same behavior for both MSVC and mingw-w64.

Reported by @birdstakes.




More information about the quake3-commits mailing list