--- a/meson.build +++ a/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 --- a/src/meson.build +++ a/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')