mirror of
https://github.com/libAthena/athena.git
synced 2025-12-08 13:15:05 +00:00
Support for emscripten
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
|
||||
#if _WIN32
|
||||
using mode_t = int;
|
||||
#else
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
namespace athena {
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#endif
|
||||
// clang-format on
|
||||
|
||||
#if defined(GEKKO) || defined(__SWITCH__)
|
||||
#if defined(GEKKO) || defined(__SWITCH__) || defined(EMSCRIPTEN)
|
||||
#include "gekko_support.h"
|
||||
typedef struct stat atStat64_t;
|
||||
#define atStat64 stat
|
||||
|
||||
Reference in New Issue
Block a user