diff --git a/src/Platform_MacClassic.c b/src/Platform_MacClassic.c index 8c3e7b73d..9f50212a4 100644 --- a/src/Platform_MacClassic.c +++ b/src/Platform_MacClassic.c @@ -19,7 +19,6 @@ #include #include #include -#include const cc_result ReturnCode_FileShareViolation = 1000000000; /* TODO: not used apparently */ const cc_result ReturnCode_FileNotFound = ENOENT; @@ -30,6 +29,13 @@ const cc_result ReturnCode_DirectoryExists = EEXIST; const char* Platform_AppNameSuffix = " MAC68k"; cc_bool Platform_SingleProcess = true; + +/*########################################################################################################################* +*---------------------------------------------------Imported headers------------------------------------------------------* +*#########################################################################################################################*/ +// Availability: in InterfaceLib 7.1 and later +static void Microseconds(UnsignedWide* microTickCount) FOURWORDINLINE(0xA193, 0x225F, 0x22C8, 0x2280); + /*########################################################################################################################* *---------------------------------------------------------Memory----------------------------------------------------------* *#########################################################################################################################*/ diff --git a/src/Window_MacClassic.c b/src/Window_MacClassic.c index 8440c5ed9..01a4e208c 100644 --- a/src/Window_MacClassic.c +++ b/src/Window_MacClassic.c @@ -14,10 +14,20 @@ #include #include #include -#include #include static WindowPtr win; + +/*########################################################################################################################* +*---------------------------------------------------Imported headers------------------------------------------------------* +*#########################################################################################################################*/ + +// Availability: in InterfaceLib 7.1 and later +static long GetScrap(Handle dst, FourCharCode type, SInt32* offset) ONEWORDINLINE(0xA9FD); +// Availability: in InterfaceLib 7.1 and later +static OSStatus PutScrap(SInt32 srcLen, FourCharCode type, const void* src) ONEWORDINLINE(0xA9FE); + + /*########################################################################################################################* *--------------------------------------------------Public implementation--------------------------------------------------* *#########################################################################################################################*/