1 diff --git a/src/sidtune.cpp b/src/sidtune.cpp
2 index 4d1d33b..6fbae80 100644
5 @@ -306,11 +306,7 @@ udword sidTune::loadFile(const char* fileName, ubyte** bufferRef)
8 // Open binary input file stream at end of file.
9 -#if defined(SID_HAVE_IOS_BIN)
10 - ifstream myIn( fileName, ios::in|ios::bin|ios::ate );
12 ifstream myIn( fileName, ios::in|ios::binary|ios::ate );
14 // As a replacement for !is_open(), bad() and the NOT-operator
15 // don't seem to work on all systems.
16 #if defined(SID_DONT_HAVE_IS_OPEN)
17 @@ -972,11 +968,7 @@ bool sidTune::saveC64dataFile( const char* fileName, bool overWriteFlag )
19 // Open binary output file stream.
21 -#if defined(SID_HAVE_IOS_BIN)
22 - fMyOut.open( fileName, ios::out|ios::bin|ios::trunc );
24 fMyOut.open( fileName, ios::out|ios::binary|ios::trunc );
28 info.statusString = text_cantCreateFile;
29 @@ -1061,11 +1053,7 @@ bool sidTune::savePSIDfile( const char* fileName, bool overWriteFlag )
31 // Open binary output file stream.
33 -#if defined(SID_HAVE_IOS_BIN)
34 - fMyOut.open( fileName, ios::out|ios::bin|ios::trunc );
36 fMyOut.open( fileName, ios::out|ios::binary|ios::trunc );
40 info.statusString = text_cantCreateFile;