summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Input.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Input.cc b/lib/Input.cc
index 1c58dab..731cedc 100644
--- a/lib/Input.cc
+++ b/lib/Input.cc
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-/* $Id: Input.cc,v 1.51 2005-02-17 08:33:50 pixel Exp $ */
+/* $Id: Input.cc,v 1.52 2005-11-02 21:34:01 pixel Exp $ */
#include <stdio.h>
#include <string.h>
@@ -216,6 +216,9 @@ int Input::wrapopen(const String & fname, openresults_t * results) {
#ifdef _WIN32
| O_BINARY
#endif
+#ifdef O_LARGEFILE
+ | O_LARGEFILE
+#endif
);
#else
hFile = CreateFile(fname.to_charp(), GENERIC_READ, FILE_SHARE_WRITE | FILE_SHARE_READ, 0, OPEN_EXISTING, 0, 0);