tahoma2d/toonz/sources/common/tiio/compatibility/tfile_io.h
2016-04-12 02:56:45 +10:00

35 lines
517 B
C

#ifndef TFILE_IO_H
#define TFILE_IO_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
#if defined(MACOSX) || defined(LINUX)
#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