From 97634776167ce76d68c07f7ebc4d1c2336a14be9 Mon Sep 17 00:00:00 2001 From: Tau Date: Sat, 4 May 2019 19:13:43 -0400 Subject: [PATCH] Define DirectInput version w32headers doesn't care but the real Windows SDK complains a bunch if you don't. --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 7dce095..47459d8 100644 --- a/meson.build +++ b/meson.build @@ -2,6 +2,7 @@ project('segatools', 'c', version: '0.1.0') add_project_arguments( '-DCOBJMACROS', + '-DDIRECTINPUT_VERSION=0x0800', '-DWIN32_LEAN_AND_MEAN', '-D_WIN32_WINNT=_WIN32_WINNT_WIN7', language: 'c',