Merge pull request #247 from gsora/fix/macos-hosted-mode

fix: make hosted mode work on macos again
This commit is contained in:
bunnie 2022-10-19 21:10:48 +08:00 committed by GitHub
commit 1df6865c7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ fn map_fonts() -> MemoryRange {
fontregion
}
fn main () -> ! {
#[cfg(not(feature="ditherpunk"))]
#[cfg(any(not(feature = "ditherpunk"), target_os = "macos"))]
wrapped_main();
#[cfg(feature="ditherpunk")]