On 10/30/2013 12:46 PM, Diorcet Yann wrote: > Could be an explanation. but how do you explain the issue on that > https://gitorious.org/glib/android/source/003dbec6c84798cb5c6a8759258f2b7180e5fa10:glib/gkeyfile.c#L354-1871 > S_ISREG is done just after fstat ... and there is #include "config.h".
I don't know Darwin, but one possible explanation is that it's not just struct stat that's affected; it's also 'open'. At least, that's the case for the off_t stuff on many platforms, and maybe Apple's doing the same for the ino_t stuff. Anyway, I'd try building the entire application with -D_DARWIN_USE_64_BIT_INODE. If that makes the problem go away we're probably on the right track. And if not, perhaps it's not an Autoconf problem anyway.