Browse Source

meson: get the full mingw-w64 string directly

This string has been there since mingw-w64 v4 [^1].

[^1]: 0695eeb4b0
pull/197/head
Steve Lhomme 2 months ago
parent
commit
0eadc2538e
  1. 3
      meson.build

3
meson.build

@ -401,10 +401,9 @@ windows_version_test = '''
have_mingw = true
mingw_version_minor = cc.get_define('__MINGW64_VERSION_MINOR',
mingw_version = cc.get_define('__MINGW64_VERSION_STR',
prefix: '#include <_mingw.h>')
mingw_version = '@0@.@1@'.format(mingw_version_major, mingw_version_minor)
message('Using MinGW-w64 ' + mingw_version)
# Defines needed for MinGW

Loading…
Cancel
Save