Compare commits

..

No commits in common. "1ed09307a74f94dfe83ef69cb7521916f64d8118" and "f31e9d99ff2bf957fc09cd80c16eb5342a6339a3" have entirely different histories.

5 changed files with 6 additions and 22 deletions

View File

@ -21,11 +21,11 @@
"multiversal": {
"flake": false,
"locked": {
"lastModified": 1712682701,
"narHash": "sha256-/bHk7tU3+xxIs4YGLUyJVG9RsVO23ek41R//eO1F22Q=",
"lastModified": 1703617805,
"narHash": "sha256-GngLWR9i+hC7hJ+ZkKlRK4K63lIJ4D/CMXZwefcVAqw=",
"owner": "autc04",
"repo": "multiversal",
"rev": "32dff28d1d618972cc2f544c86ee017b6464fa89",
"rev": "27c08c654bbd48d23f025741e3a584b59374904a",
"type": "github"
},
"original": {

View File

@ -16,11 +16,3 @@
#undef CPP_SPEC
#define CPP_SPEC "-Wno-trigraphs"
#undef TARGET_OS_CPP_BUILTINS
#define TARGET_OS_CPP_BUILTINS() \
do \
{ \
builtin_define ("macintosh"); \
builtin_define ("Macintosh"); \
} \
while (0)

View File

@ -152,8 +152,6 @@
builtin_define ("__PPC__"); \
builtin_define ("__POWERPC__"); \
builtin_define ("__NATURAL_ALIGNMENT__"); \
builtin_define ("macintosh"); \
builtin_define ("Macintosh"); \
builtin_assert ("system=macos"); \
builtin_assert ("cpu=powerpc"); \
builtin_assert ("machine=powerpc"); \

View File

@ -135,14 +135,8 @@ int _open_r(struct _reent *reent, const char* name, int flags, int mode)
int _close_r(struct _reent *reent, int fd)
{
if(fd >= kMacRefNumOffset) {
short refNum = fd - kMacRefNumOffset;
short vRefNum;
OSErr err = GetVRefNum(refNum, &vRefNum);
FSClose(refNum);
if (err == noErr)
FlushVol(NULL, vRefNum);
}
if(fd >= kMacRefNumOffset)
FSClose(fd - kMacRefNumOffset);
return 0;
}

@ -1 +1 @@
Subproject commit 32dff28d1d618972cc2f544c86ee017b6464fa89
Subproject commit 27c08c654bbd48d23f025741e3a584b59374904a