From cbdf926884c4d96a84ff12293fd45b9ec95d5b93 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 3 May 2017 14:05:48 -0700 Subject: Move O_BINARY and O_LARGEFILE defintions No code needs this execpt one file. Change-Id: Ibceb33259f5a3635de36a272ebd49ef572004cbc Reviewed-on: https://pdfium-review.googlesource.com/4832 Commit-Queue: dsinclair Reviewed-by: dsinclair --- core/fxcrt/fxcrt_posix.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'core/fxcrt/fxcrt_posix.cpp') diff --git a/core/fxcrt/fxcrt_posix.cpp b/core/fxcrt/fxcrt_posix.cpp index 3afe2c32d5..ca4ac161a4 100644 --- a/core/fxcrt/fxcrt_posix.cpp +++ b/core/fxcrt/fxcrt_posix.cpp @@ -11,6 +11,14 @@ #include "core/fxcrt/fx_basic.h" #include "third_party/base/ptr_util.h" +#ifndef O_BINARY +#define O_BINARY 0 +#endif // O_BINARY + +#ifndef O_LARGEFILE +#define O_LARGEFILE 0 +#endif // O_LARGEFILE + #if _FXM_PLATFORM_ == _FXM_PLATFORM_LINUX_ || \ _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ || \ _FXM_PLATFORM_ == _FXM_PLATFORM_ANDROID_ -- cgit v1.2.3