Skip to content

Commit

Permalink
run.c - Fix to build on latest cosmopolitan toolchain
Browse files Browse the repository at this point in the history
Update depreciated STATIC_YOINK() to __static_yoink() to support Mint APE Loader v1.5
  • Loading branch information
trholding committed Jul 30, 2023
1 parent a70719d commit 1c4f129
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions run.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ Then copy to any system (Linux,Win,Mac),(x86_64,ARM64) and run with:
// Actually Portable Executable Format Preprocessor Directives

#ifdef COSMO_BLINK // Support ARM 64 Bit via Blink VM Emulation
STATIC_YOINK("blink_linux_aarch64"); // for raspberry pi
STATIC_YOINK("blink_xnu_aarch64"); // is apple silicon
__static_yoink("blink_linux_aarch64"); // for raspberry pi
__static_yoink("blink_xnu_aarch64"); // is apple silicon
#endif

#ifdef COSMO_METAL // Support VGA Console when running bare metal
STATIC_YOINK("vga_console");
__static_yoink("vga_console");
#endif

#ifdef COSMO_ZIP // Support embedded models via Zip Archive support
STATIC_YOINK("zipos");
__static_yoink("zipos");
#endif

// ----------------------------------------------------------------------------
Expand Down

0 comments on commit 1c4f129

Please sign in to comment.