Define DirectInput version

w32headers doesn't care but the real Windows SDK complains a bunch
if you don't.
This commit is contained in:
Tau 2019-05-04 19:13:43 -04:00
parent e050dd7837
commit 9763477616
1 changed files with 1 additions and 0 deletions

View File

@ -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',