fontconfig: Branch 'main'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 src/fcstat.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fd393c53d816653e525950b742d49b02d599260b
Author: Mehdi Sabwat <mehdisabwat@xxxxxxxxx>
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 */
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/fontconfig



[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux