Enabled build on Haiku target

This commit is contained in:
kwyxz 2018-02-10 06:50:40 +00:00
parent b3b740fae1
commit 0523566b42

View File

@ -7,6 +7,11 @@
#include <nall/utility.hpp>
#include <nall/windows/utf8.hpp>
#if defined(__HAIKU__)
// in Haiku, stat64 is just a stat
#define stat64 stat
#endif
namespace nall {
inline FILE* fopen_utf8(const string &utf8_filename, const char *mode) {
#if !defined(_WIN32)