use better O_LARGEFILE

This commit is contained in:
rsc 2006-07-27 22:36:00 +00:00
parent da6a55346f
commit 9c15a45673

View file

@ -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;