Changeset 227 for cpp/frams


Ignore:
Timestamp:
04/20/14 01:48:23 (11 years ago)
Author:
Maciej Komosinski
Message:

Android compilation and access to RESOURCES and HOME files

Location:
cpp/frams/virtfile
Files:
2 edited

Legend:

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

    r206 r227  
    3535void StdioFILE::setStdio()
    3636{
     37#ifndef NO_STD_IN_OUT_ERR
    3738        static StdioFILEDontClose si(stdin);
    3839        static StdioFILEDontClose so(stdout);
     
    4142        setVstdout(&so);
    4243        setVstderr(&se);
     44#endif
    4345}
    4446
  • cpp/frams/virtfile/stdiofile.h

    r206 r227  
    4343const char* VgetPath() {return path;}
    4444
    45 ~StdioFILE() {if (file) fclose(file);}
     45~StdioFILE() {if (file) mfclose(file);}
    4646};
    4747#else
Note: See TracChangeset for help on using the changeset viewer.