From 470b0934a6fe7b21ee83b7a8e5a3188e1125fe0e Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 16 Oct 2023 19:41:20 -0700 Subject: [PATCH] fix compilation for Ubuntu MinGW version had to be set to 7 minimum. --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 7756490e..b727d91e 100644 --- a/meson.build +++ b/meson.build @@ -95,6 +95,10 @@ endif threads_dep = dependency('threads') +if host_machine.system() == 'windows' + add_project_arguments('-DWINVER=0x0601', '-D_WIN32_WINNT=0x0601', language: 'cpp') +endif + includes = [ 'public/tracy/TracyC.h', 'public/tracy/Tracy.hpp',