Update fopen_utf8.c

This commit is contained in:
Alcaro 2017-12-04 17:03:53 +01:00 committed by GitHub
parent 486d5e77e3
commit 6359aee509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,12 @@
#include <compat/fopen_utf8.h>
#include <encodings/utf.h>
#if defined(_MSC_VER) && _MSC_VER < 1400 || defined(_XBOX)
#ifndef LEGACY_WIN32
#define LEGACY_WIN32
#endif
#endif
#ifdef _WIN32
#undef fopen