diff options
Diffstat (limited to 'core/fxcrt/cfx_fileaccess_posix.cpp')
-rw-r--r-- | core/fxcrt/cfx_fileaccess_posix.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/fxcrt/cfx_fileaccess_posix.cpp b/core/fxcrt/cfx_fileaccess_posix.cpp index fdcf4ae6bb..fdba53b71e 100644 --- a/core/fxcrt/cfx_fileaccess_posix.cpp +++ b/core/fxcrt/cfx_fileaccess_posix.cpp @@ -22,10 +22,6 @@ #define O_LARGEFILE 0 #endif // O_LARGEFILE -#if _FX_PLATFORM_ == _FX_PLATFORM_LINUX_ || \ - _FX_PLATFORM_ == _FX_PLATFORM_APPLE_ || \ - _FX_PLATFORM_ == _FX_PLATFORM_ANDROID_ - namespace { void GetFileMode(uint32_t dwModes, int32_t& nFlags, int32_t& nMasks) { @@ -153,5 +149,3 @@ bool CFX_FileAccess_Posix::Truncate(FX_FILESIZE szFile) { return !ftruncate(m_nFD, szFile); } - -#endif |