diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-12-19 23:45:50 -0800 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-12-19 23:45:50 -0800 |
commit | 28e250cda01038c91fb9b69206c6f61f24764469 (patch) | |
tree | dffa27bd9433c7822896046f2842f25f2bacc047 /src/Input.cc | |
parent | c740946b5871745e72444136fd229304c9658b41 (diff) | |
parent | 367ba1df2786888451328416a2db991fa8018083 (diff) |
Merge branch 'master' of ssh+git://git.grumpycoder.net/pub/repo.git/Balau
Diffstat (limited to 'src/Input.cc')
-rw-r--r-- | src/Input.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Input.cc b/src/Input.cc index 2a87a5d..64a05ec 100644 --- a/src/Input.cc +++ b/src/Input.cc @@ -40,7 +40,7 @@ class AsyncOpOpen : public Balau::AsyncOperation { AsyncOpOpen(const char * path, cbResults_t * results) : m_path(path), m_results(results) { } virtual void run() { #ifdef _MSC_VER - const ssize_t r = m_results->result = _open(m_path, O_RDONLY); + const ssize_t r = m_results->result = _open(m_path, O_RDONLY | O_BINARY); #else const ssize_t r = m_results->result = open(m_path, O_RDONLY); #endif |