Update fopen_utf8.h
This commit is contained in:
parent
2f1bcb6409
commit
75c59aedcf
|
@ -1,9 +1,14 @@
|
||||||
|
#ifndef __FOPEN_UTF8_H
|
||||||
|
#define __FOPEN_UTF8_H
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
/* defined to error rather than fopen_utf8, to make clear to everyone reading the code that not worrying about utf16 is fine */
|
/* defined to error rather than fopen_utf8, to make it clear to everyone reading the code that not worrying about utf16 is fine */
|
||||||
/* TODO: enable */
|
/* TODO: enable */
|
||||||
/* #define fopen (use fopen_utf8 instead) */
|
/* #define fopen (use fopen_utf8 instead) */
|
||||||
FILE* fopen_utf8(const char * filename, const char * mode);
|
FILE* fopen_utf8(const char * filename, const char * mode);
|
||||||
#else
|
#else
|
||||||
#define fopen_utf8 fopen
|
#define fopen_utf8 fopen
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue