From 2066b6b33a26f1c4711eced0d1e7af375f604cd7 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 13 Oct 2021 21:40:30 +0200 Subject: [PATCH] websockets: require Windows7 (with pollfd) --- libs/surfaces/websockets/wscript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/surfaces/websockets/wscript b/libs/surfaces/websockets/wscript index 9a62df3f0c..90fdf3e661 100644 --- a/libs/surfaces/websockets/wscript +++ b/libs/surfaces/websockets/wscript @@ -41,5 +41,8 @@ def build(bld): obj.use = 'libardour libardour_cp libgtkmm2ext libpbd' obj.install_path = os.path.join(bld.env['LIBDIR'], 'surfaces') + if bld.env['build_target'] == 'mingw': + obj.defines+= [ '_WIN32_WINNT=0x0601', 'WINVER=0x0601' ] + def shutdown(): autowaf.shutdown()