tahoma2d/toonz/sources/common/tiio/compatibility/tfile_io.h

36 lines
529 B
C
Raw Normal View History

2016-05-17 03:04:11 +12:00
#pragma once
2016-03-19 06:57:51 +13:00
#ifndef TFILE_IO_H
#define TFILE_IO_H
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
2016-03-27 13:44:21 +13:00
#if defined(MACOSX) || defined(LINUX)
2016-03-19 06:57:51 +13:00
#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