diff data/fileio/MatrixFile.cpp @ 233:0d943a3fcc77

...
author Chris Cannam
date Fri, 16 Feb 2007 13:00:17 +0000
parents 6ec58bb8f729
children 3e6fee4e4257
line wrap: on
line diff
--- a/data/fileio/MatrixFile.cpp	Wed Feb 14 17:52:06 2007 +0000
+++ b/data/fileio/MatrixFile.cpp	Fri Feb 16 13:00:17 2007 +0000
@@ -111,6 +111,10 @@
         m_flags = O_RDONLY;
     }
 
+#ifdef _WIN32
+    m_flags |= O_BINARY;
+#endif
+
 #ifdef DEBUG_MATRIX_FILE
     std::cerr << "MatrixFile::MatrixFile: opening " << fileName.toStdString() << "..." << std::endl;
 #endif