fix windows errors uncovered by the inline patch
commit47722a8c2ebd9575b0111fade551863f972478cc
authorPetr Skocik <pskocik@gmail.com>
Wed, 12 Jun 2019 13:34:47 +0000 (12 15:34 +0200)
committerPetr Skocik <pskocik@gmail.com>
Wed, 12 Jun 2019 13:37:59 +0000 (12 15:37 +0200)
tree7f5ff0c8c869a354b525e47cc863952b1c04bd7f
parent587e1f5598f2b0c35c7772bde486d47aa9a0cbbc
fix windows errors uncovered by the inline patch

By always instantiating extern inlines, the patch has discovered
2 assembly errors, which were fixed in the original mingw64 in 2009.

This fixes those errors.

Additionally it changes __CRT_INLINE in win32/include/_mingw.h
from `extern __inline__` to `static __inline__`.

__CRT_INLINE is used exclusively in header files and as such
it should not create externally visible instantiations like a `extern
inline` would (as per the C standard).
win32/include/_mingw.h
win32/include/winapi/winnt.h