Commit 53f03f4f authored by KO Myung-Hun's avatar KO Myung-Hun
Browse files

in OS/2 the device must be opened in binary mode;

parent 9e2b8a0d
......@@ -165,7 +165,7 @@ static dvd_input_t file_open(const char *target)
}
/* Open the device */
#ifndef WIN32
#if !defined(WIN32) && !defined(__OS2__)
dev->fd = open(target, O_RDONLY);
#else
dev->fd = open(target, O_RDONLY | O_BINARY);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment