tahoma2d/toonz/sources/common/tiio/compatibility/tfile_io.h
Toshihiro Shimizu 890dddabbd first commit
2016-03-19 02:57:51 +09:00

35 lines
493 B
C

#ifndef TFILE_IO_H
#define TFILE_IO_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
#ifdef MACOSX
#include <stddef.h>
#endif
char *convertWCHAR2CHAR(const wchar_t *fname);
#if defined(MACOSX) || defined(LINUX)
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
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