diff --git a/meson.build b/meson.build index 66765ce..47acf54 100644 --- a/meson.build +++ b/meson.build @@ -39,16 +39,10 @@ cc = meson.get_compiler('c') coroutine = get_option('with-coroutine') -if coroutine == 'auto' - if host_machine.system() == 'windows' - coroutine = 'gthread' - else - coroutine = 'ucontext' - endif -endif +coroutine = 'gthread' if coroutine == 'ucontext' - conf_data.set('WITH_UCONTEXT', true) + conf_data.set('WITH_UCONTEXT', false) elif coroutine != 'gthread' error('Unknown coroutine backend') endif diff --git a/src/meson.build b/src/meson.build index a09aee9..0d1523f 100644 --- a/src/meson.build +++ b/src/meson.build @@ -78,15 +78,7 @@ gvnc_sources = gvnc_gir_sources + gvnc_marshal + [ 'vncconnectionblt.h', ] -if coroutine == 'ucontext' - gvnc_sources += [ - 'coroutine_ucontext.c', - 'continuation.h', - 'continuation.c', - ] -else - gvnc_sources += 'coroutine_gthread.c' -endif +gvnc_sources += 'coroutine_gthread.c' gvnc_link_args = [] if meson.get_compiler('c').has_link_argument('-Wl,--no-undefined')