diff -Naur fontconfig-2.13.94.org/configure fontconfig-2.13.94.sw/configure
--- fontconfig-2.13.94.org/configure	2022-02-25 06:55:07.530000000 +0000
+++ fontconfig-2.13.94.sw/configure	2022-02-25 06:57:04.540000000 +0000
@@ -21822,7 +21822,7 @@
 typedef unsigned long long uint64_t;
 #endif
 
-#elif defined __alpha || (defined __mips && defined _ABIN32)
+#elif defined __alpha || defined __sw_64 || (defined __mips && defined _ABIN32)
 #if !defined _NO_LONGLONG
 typedef long int64_t;
 typedef unsigned long uint64_t;
diff -Naur fontconfig-2.13.94.org/m4/ax_create_stdint_h.m4 fontconfig-2.13.94.sw/m4/ax_create_stdint_h.m4
--- fontconfig-2.13.94.org/m4/ax_create_stdint_h.m4	2022-02-25 06:55:07.380000000 +0000
+++ fontconfig-2.13.94.sw/m4/ax_create_stdint_h.m4	2022-02-25 06:57:34.340000000 +0000
@@ -412,7 +412,7 @@
 typedef unsigned long long uint64_t;
 #endif
 
-#elif defined __alpha || (defined __mips && defined _ABIN32)
+#elif defined __alpha || defined __sw_64 || (defined __mips && defined _ABIN32)
 #if !defined _NO_LONGLONG
 typedef long int64_t;
 typedef unsigned long uint64_t;
