use better O_LARGEFILE
This commit is contained in:
parent
da6a55346f
commit
9c15a45673
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue