diff options
author | Mehdi Sabwat <mehdisabwat@gmail.com> | 2021-07-06 16:08:49 +0200 |
---|---|---|
committer | Mehdi Sabwat <mehdisabwat@gmail.com> | 2021-07-06 18:17:32 +0200 |
commit | fd393c53d816653e525950b742d49b02d599260b (patch) | |
tree | 2950c0ca83664e80845264d5313b2e74d47279dc /src | |
parent | e291fda7d42e5d64379555097a066d9c2c4efce3 (diff) | |
download | fontconfig-fd393c53d816653e525950b742d49b02d599260b.tar.gz |
fcstat: add support for wasm-emscripten
fallback to f_type statfs struct field, since f_fstypename is not supported on the platform.
Diffstat (limited to 'src')
-rw-r--r-- | src/fcstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcstat.c b/src/fcstat.c index 5a2bd7c..4f69eae 100644 --- a/src/fcstat.c +++ b/src/fcstat.c @@ -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 */ |