mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +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
|
||||
#endif
|
||||
#ifndef O_LARGEFILE
|
||||
#if defined(__linux__)
|
||||
#define O_LARGEFILE 0100000 /* Sigh */
|
||||
#else
|
||||
#define O_LARGEFILE 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
int debug;
|
||||
|
|
Loading…
Reference in a new issue