Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8527 for code/trunk


Ignore:
Timestamp:
May 22, 2011, 10:15:22 AM (14 years ago)
Author:
landauf
Message:

build fix for mingw, d_ostream.open() is not defined for wchar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/GUIManager.cc

    r8467 r8527  
    6565#endif
    6666
    67 #ifdef ORXONOX_PLATFORM_WINDOWS
     67#if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_COMPILER_MINGW)
    6868#  include <windows.h>
    6969#endif
     
    121121                d_ostream.close();
    122122
    123 #ifdef ORXONOX_PLATFORM_WINDOWS
     123#if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_COMPILER_MINGW)
    124124            // filename.c_str() is UTF-8 encoded, but Windows expects characters
    125125            // according to the current codepage or UTF-16 (wchar)
     
    156156        }
    157157
    158 #ifdef ORXONOX_PLATFORM_WINDOWS
     158#if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_COMPILER_MINGW)
    159159        /// Converts a UTF-8 character sequence to Windows UTF-16
    160160        static std::wstring utf8ToUtf16(const std::string& utf8text)
Note: See TracChangeset for help on using the changeset viewer.