graphics-server: apply macos patch to fix build

This fixes the build of `graphics-server` on macos.
This is recommended by @bunnie in
https://github.com/betrusted-io/xous-core/issues/373#issuecomment-1526015174

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2023-04-28 00:05:28 +07:00
parent 9022fe6827
commit 6eb6fae061

View file

@ -97,7 +97,7 @@ fn main () -> ! {
// loop from a thread other than TID 1. Let the backend claim this thread
// if this may be the case.
backend::claim_main_thread(move |main_thread_token| {
#[cfg(any(not(feature = "ditherpunk"), target_os = "macos"))]
#[cfg(not(feature = "ditherpunk"))]
wrapped_main(main_thread_token);
#[cfg(feature="ditherpunk")]