mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
Merge pull request #145 from zydeco/master
fix for extfs on 64-bit macOS/iOS
This commit is contained in:
commit
a1a48c1479
@ -175,9 +175,9 @@ static uint32 next_cnid = fsUsrCNID; // Next available CNID
|
|||||||
|
|
||||||
#if defined __APPLE__ && defined __MACH__
|
#if defined __APPLE__ && defined __MACH__
|
||||||
struct crtimebuf {
|
struct crtimebuf {
|
||||||
unsigned long length;
|
u_int32_t length;
|
||||||
struct timespec crtime;
|
struct timespec crtime;
|
||||||
};
|
} __attribute__((aligned(4), packed));
|
||||||
|
|
||||||
static uint32 do_get_creation_time(const char *path)
|
static uint32 do_get_creation_time(const char *path)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user