fcstat: add support for wasm-emscripten
fallback to f_type statfs struct field, since f_fstypename is not supported on the platform.
This commit is contained in:
parent
e291fda7d4
commit
fd393c53d8
|
@ -386,7 +386,7 @@ FcFStatFs (int fd, FcStatFS *statb)
|
|||
# endif
|
||||
# if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME)
|
||||
p = buf.f_fstypename;
|
||||
# elif defined(__linux__)
|
||||
# elif defined(__linux__) || defined (__EMSCRIPTEN__)
|
||||
switch (buf.f_type)
|
||||
{
|
||||
case 0x6969: /* nfs */
|
||||
|
|
Loading…
Reference in New Issue