[Fontconfig] fontconfig: Branch 'main'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jul 7 04:47:47 UTC 2021
src/fcstat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fd393c53d816653e525950b742d49b02d599260b
Author: Mehdi Sabwat <mehdisabwat at gmail.com>
Date: Tue Jul 6 16:08:49 2021 +0200
fcstat: add support for wasm-emscripten
fallback to f_type statfs struct field, since f_fstypename is not supported on the platform.
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 */
More information about the Fontconfig
mailing list