diff options
Diffstat (limited to 'lib/common/FileStream.h')
-rw-r--r-- | lib/common/FileStream.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/common/FileStream.h b/lib/common/FileStream.h index e3ab9f46..5f9b31bb 100644 --- a/lib/common/FileStream.h +++ b/lib/common/FileStream.h @@ -32,22 +32,14 @@ class FileStream : public IOStream { public: FileStream(const std::string& rFilename, -#ifdef WIN32 int flags = (O_RDONLY | O_BINARY), -#else - int flags = O_RDONLY, -#endif int mode = (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)); // Ensure that const char * name doesn't end up as a handle // on Windows! FileStream(const char *pFilename, -#ifdef WIN32 int flags = (O_RDONLY | O_BINARY), -#else - int flags = O_RDONLY, -#endif int mode = (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)); FileStream(tOSFileHandle FileDescriptor); |