mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 14:29:06 +08:00
d3197c9ada
* Fix mingw build * Update versions
14 lines
422 B
Diff
14 lines
422 B
Diff
diff --git a/meson.build b/meson.build
|
|
index e5096bf..51c289f 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -268,7 +268,7 @@ sh = find_program('sh', required : false)
|
|
|
|
if not sh.found() # host_machine.system() == 'windows' or not sh.found()
|
|
# TODO: This is not always correct
|
|
- if cc.get_id() == 'msvc'
|
|
+ if host_machine.system() == 'windows'
|
|
gperf_len_type = 'size_t'
|
|
else
|
|
gperf_len_type = 'unsigned'
|