4 * On 32-bit platforms we need to pass O_LARGEFILE to the open()
5 * system call, to indicate that we're 64-bit safe.
8 #define _KLIBC_IN_OPEN_C
13 #if _BITSIZE == 32 && !defined(__i386__)
15 extern int __open(const char *, int, mode_t);
17 int open(const char *pathname, int flags, mode_t mode)
19 return __open(pathname, flags|O_LARGEFILE, mode);