meson: Correctly set DDXOSVERRORF and DDXBEFORERESET on xwin

This worked with autotools, but not meson build system.

Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
This commit is contained in:
Povilas Kanapickas 2021-11-13 16:42:36 +02:00
parent 5ac6319776
commit 04c93b98e9

View File

@ -247,6 +247,8 @@ conf_data.set('HAVE_LIBUNWIND', get_option('libunwind'))
conf_data.set('HAVE_APM', (build_apm or build_acpi) ? '1' : false) conf_data.set('HAVE_APM', (build_apm or build_acpi) ? '1' : false)
conf_data.set('HAVE_ACPI', build_acpi ? '1' : false) conf_data.set('HAVE_ACPI', build_acpi ? '1' : false)
conf_data.set('DDXOSVERRORF', build_xwin ? '1' : false)
conf_data.set('DDXBEFORERESET', build_xwin ? '1' : false)
enable_debugging = get_option('buildtype') == 'debug' enable_debugging = get_option('buildtype') == 'debug'
conf_data.set('DEBUG', enable_debugging ? '1' : false) conf_data.set('DEBUG', enable_debugging ? '1' : false)