Changeset 374 for cpp/frams


Ignore:
Timestamp:
04/23/15 03:18:25 (7 years ago)
Author:
Maciej Komosinski
Message:

Under _WIN32, mfopen() now redirects to a function mfile_wfopen() that converts arguments to wide char and then uses _wfopen()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/virtfile/stdiofile.cpp

    r372 r374  
    1212{
    1313        //printH("Vfopen %s %s",path,mode);
    14 #ifdef _WIN32
    15         FILE *f = _wfopen(Convert::utf8ToUtf16(path).c_str(), Convert::strTOwstr(mode).c_str());
    16 #else
    17 #ifdef USE_MFILE
     14#if defined USE_MFILE || defined _WIN32
    1815        MFILE *f = mfopen(path, mode);
    1916#else
    2017        FILE *f = fopen(path, mode);
    21 #endif
    2218#endif
    2319        //printH("%p",f);
Note: See TracChangeset for help on using the changeset viewer.