]> git.lyx.org Git - lyx.git/blobdiff - src/support/os_win32.C
fix typo that put too many include paths for most people
[lyx.git] / src / support / os_win32.C
index c0b13e16b570e00093533578d892ddacc6a6efd5..8d2b848732bd059772b7132de27b91348f0823cc 100644 (file)
@@ -19,6 +19,8 @@ string os::tmpdir_ = string();
 os::shell_type os::_shell = os::UNIX;
 unsigned long os::cp_ = 0;
 
+using std::endl;
+
 void os::init(int * /* argc */, char ** argv[]) {
        static bool initialized = false;
        if (initialized) return;
@@ -116,3 +118,10 @@ bool os::is_absolute_path(string const & p)
 
        return isDosPath | isUnixPath;
 }
+
+// returns a string suitable to be passed to fopen/popen when
+// reading a file
+char const * os::read_mode()
+{
+       return "rb";
+}