Commit af62de63 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Prevent name collision with libretro-common fopen_utf8.c

parent 2d17d3e0
......@@ -157,7 +157,7 @@
#define flac_printf printf_utf8
#define flac_fprintf fprintf_utf8
#define flac_vfprintf vfprintf_utf8
#define flac_fopen fopen_utf8
#define flac_fopen _fopen_utf8
#define flac_chmod chmod_utf8
#define flac_utime utime_utf8
#define flac_unlink unlink_utf8
......
......@@ -52,7 +52,7 @@ int printf_utf8(const char *format, ...);
int fprintf_utf8(FILE *stream, const char *format, ...);
int vfprintf_utf8(FILE *stream, const char *format, va_list argptr);
FILE *fopen_utf8(const char *filename, const char *mode);
FILE *_fopen_utf8(const char *filename, const char *mode);
int stat_utf8(const char *path, struct stat *buffer);
int _stat64_utf8(const char *path, struct __stat64 *buffer);
int chmod_utf8(const char *filename, int pmode);
......
......@@ -167,7 +167,7 @@ int vfprintf_utf8(FILE *stream, const char *format, va_list argptr)
/* file functions */
FILE *fopen_utf8(const char *filename, const char *mode)
FILE *_fopen_utf8(const char *filename, const char *mode)
{
wchar_t *wname = NULL;
wchar_t *wmode = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment