diff options
-rw-r--r-- | Source/cmELF.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmELF.cxx b/Source/cmELF.cxx index deffdb6..01dc0b1 100644 --- a/Source/cmELF.cxx +++ b/Source/cmELF.cxx @@ -683,7 +683,7 @@ const long cmELF::TagMipsRldMapRel = 0; cmELF::cmELF(const char* fname) { // Try to open the file. - auto fin = cm::make_unique<cmsys::ifstream>(fname); + auto fin = cm::make_unique<cmsys::ifstream>(fname, std::ios::binary); // Quit now if the file could not be opened. if (!fin || !*fin) { |