commit | e82b4f5681c1e4a81f2ac22e3b1789fb1a844b95 | [log] [tgz] |
---|---|---|
author | Liu Hao <lh_mouse@126.com> | Mon Jun 01 14:26:41 2020 +0800 |
committer | Liu Hao <lh_mouse@126.com> | Wed Jun 03 22:00:08 2020 +0800 |
tree | 6b46410cde02ec58594c648aa1f7235b38631835 | |
parent | e8d7c1b390b085ebdd5c53a2987fd473c816a03e [diff] |
winpthreads: Always define `__USE_MINGW_ANSI_STDIO` to zero In the x86 case, mingw-w64 stdio functions use 64-bit division, which relies on certain routines in libgcc, and causes undefined references under some circumstances. Instead, the MS ones should be called, which are available immediately and do not depend on libgcc. This was also the case prior to bfd33f6c. Reference: https://github.com/msys2/MINGW-packages/pull/6539 Signed-off-by: Liu Hao <lh_mouse@126.com>