RetroArch/libretro-common/include/compat/fopen_utf8.h

10 lines
323 B
C
Raw Normal View History

2017-12-04 15:32:40 +00:00
#include <stdio.h>
#ifdef _WIN32
2017-12-04 15:34:56 +00:00
/* defined to error rather than fopen_utf8, to make clear to everyone reading the code that not worrying about utf16 is fine */
/* TODO: enable */
/* #define fopen (use fopen_utf8 instead) */
2017-12-04 15:32:40 +00:00
FILE* fopen_utf8(const char * filename, const char * mode);
2017-12-04 15:34:56 +00:00
#else
#define fopen_utf8 fopen
2017-12-04 15:32:40 +00:00
#endif