瀏覽代碼

Explicitly target Windows 7 for mingw builds

Ivan Savenko 1 年之前
父節點
當前提交
a7b46c0508
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      CI/conan/base/cross-macro.j2

+ 1 - 0
CI/conan/base/cross-macro.j2

@@ -17,4 +17,5 @@ RC={{ target_host }}-windres
 {% macro generate_conf(target_host) -%}
 tools.build:compiler_executables = {"c": "{{ target_host }}-gcc", "cpp": "{{ target_host }}-g++"}
 tools.build:sysroot = /usr/{{ target_host }}
+tools.build:defines = ["WINVER=0x0601", "_WIN32_WINNT=0x0601"]
 {%- endmacro -%}