mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
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…
Reference in a new issue