use better O_LARGEFILE
This commit is contained in:
parent
da6a55346f
commit
9c15a45673
@ -23,8 +23,12 @@
|
|||||||
#define O_DIRECTORY 0
|
#define O_DIRECTORY 0
|
||||||
#endif
|
#endif
|
||||||
#ifndef O_LARGEFILE
|
#ifndef O_LARGEFILE
|
||||||
|
#if defined(__linux__)
|
||||||
|
#define O_LARGEFILE 0100000 /* Sigh */
|
||||||
|
#else
|
||||||
#define O_LARGEFILE 0
|
#define O_LARGEFILE 0
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
int debug;
|
int debug;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user