#pragma once #ifndef TFILE_IO_H #define TFILE_IO_H #ifdef __cplusplus extern "C" { #endif #include #ifdef MACOSX #include #endif #ifdef LINUX #include #endif char *convertWCHAR2CHAR(const wchar_t *fname); #if defined(MACOSX) || defined(LINUX) #include #include #include FILE *_wfopen(const wchar_t *fname, const wchar_t *mode); int _wstat(const wchar_t *fname, struct stat *buf); int _wremove(const wchar_t *fname); #else #endif #ifdef __cplusplus } #endif #endif