From 75c59aedcf6d45642bbd399aa7f348b96112123b Mon Sep 17 00:00:00 2001 From: Alcaro Date: Mon, 4 Dec 2017 20:23:45 +0100 Subject: [PATCH] Update fopen_utf8.h --- libretro-common/include/compat/fopen_utf8.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libretro-common/include/compat/fopen_utf8.h b/libretro-common/include/compat/fopen_utf8.h index 583b558a26..67cc289aa6 100644 --- a/libretro-common/include/compat/fopen_utf8.h +++ b/libretro-common/include/compat/fopen_utf8.h @@ -1,9 +1,14 @@ +#ifndef __FOPEN_UTF8_H +#define __FOPEN_UTF8_H + #include + #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 */ /* #define fopen (use fopen_utf8 instead) */ FILE* fopen_utf8(const char * filename, const char * mode); #else #define fopen_utf8 fopen #endif +#endif