]> git.sesse.net Git - vlc/blob - contrib/src/sidplay2/sidplay2-openmode.patch
contrib: update TODO
[vlc] / contrib / src / sidplay2 / sidplay2-openmode.patch
1 --- sidplay-libs-2.1.1/libsidplay/src/sidtune/SidTune.cpp.old   2008-07-25 16:55:02.000000000 \
2 +0000
3 +++ sidplay-libs-2.1.1/libsidplay/src/sidtune/SidTune.cpp       2008-07-25 16:53:58.000000000 \
4 +0000
5 @@ -283,7 +283,7 @@
6      uint_least32_t fileLen = 0;
7  
8      // This sucks big time
9 -    openmode createAtrr = std::ios::in;
10 +    std::_Ios_Openmode createAtrr = std::ios::in;
11  #ifdef HAVE_IOS_NOCREATE
12      createAtrr |= std::ios::nocreate;
13  #endif
14 @@ -952,7 +952,7 @@
15      if ( status )
16      {
17          // Open binary output file stream.
18 -        openmode createAttr = std::ios::out;
19 +        std::_Ios_Openmode createAttr = std::ios::out;
20  #if defined(HAVE_IOS_BIN)
21          createAttr |= std::ios::bin;
22  #else
23 @@ -1002,7 +1002,7 @@
24      if ( status )
25      {
26          // Open ASCII output file stream.
27 -        openmode createAttr = std::ios::out;
28 +        std::_Ios_Openmode createAttr = std::ios::out;
29          if ( overWriteFlag )
30              createAttr |= std::ios::trunc;
31          else
32 @@ -1036,7 +1036,7 @@
33      if ( status )
34      {
35          // Open binary output file stream.
36 -        openmode createAttr = std::ios::out;
37 +        std::_Ios_Openmode createAttr = std::ios::out;
38  #if defined(HAVE_IOS_BIN)
39          createAttr |= std::ios::bin;
40  #else