10 lines
323 B
C
Raw Normal View History

2017-12-04 16:32:40 +01:00
#include <stdio.h>
#ifdef _WIN32
2017-12-04 16:34:56 +01: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 16:32:40 +01:00
FILE* fopen_utf8(const char * filename, const char * mode);
2017-12-04 16:34:56 +01:00
#else
#define fopen_utf8 fopen
2017-12-04 16:32:40 +01:00
#endif