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

View File

@ -2,6 +2,7 @@ project('segatools', 'c', version: '0.1.0')
add_project_arguments( add_project_arguments(
'-DCOBJMACROS', '-DCOBJMACROS',
'-DDIRECTINPUT_VERSION=0x0800',
'-DWIN32_LEAN_AND_MEAN', '-DWIN32_LEAN_AND_MEAN',
'-D_WIN32_WINNT=_WIN32_WINNT_WIN7', '-D_WIN32_WINNT=_WIN32_WINNT_WIN7',
language: 'c', language: 'c',