AP_Filesystem: add WebAssembly SITL support

This commit is contained in:
Graham
2026-09-22 12:59:21 +10:00
committed by Peter Barker
parent abb6c00fa2
commit d72b5616cd
+1 -1
View File
@@ -109,7 +109,7 @@ int apfs_rename(const char *oldpath, const char *newpath);
#define ftell(stream) apfs_ftell(stream)
#define freopen(pathname, mode, stream) apfs_freopen(pathname, mode, stream)
#define rename(oldpath, newpath) apfs_rename(oldpath, newpath)
#if !defined(__APPLE__)
#if !defined(__APPLE__) && !defined(__EMSCRIPTEN__)
#define remove(pathname) apfs_remove(pathname)
int sprintf(char *str, const char *format, ...);
#endif