fix for extfs on 64-bit macOS/iOS

This commit is contained in:
Jesús A. Álvarez 2017-11-28 22:53:29 +01:00 committed by Alexei Svitkine
parent 1e4e7179d4
commit db72f9142e

View File

@ -175,9 +175,9 @@ static uint32 next_cnid = fsUsrCNID; // Next available CNID
#if defined __APPLE__ && defined __MACH__
struct crtimebuf {
unsigned long length;
u_int32_t length;
struct timespec crtime;
};
} __attribute__((aligned(4), packed));
static uint32 do_get_creation_time(const char *path)
{