mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-12 16:29:39 +00:00
Compare commits
No commits in common. "1ed09307a74f94dfe83ef69cb7521916f64d8118" and "f31e9d99ff2bf957fc09cd80c16eb5342a6339a3" have entirely different histories.
1ed09307a7
...
f31e9d99ff
|
@ -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": {
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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"); \
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue
Block a user