summaryrefslogtreecommitdiffstats
path: root/libs/glib2/patches/003-valgrind.h-mips16-fix.patch
blob: ca35972b74fe2aa4750dbe5017ea9760a9a78bd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/glib/valgrind.h
+++ b/glib/valgrind.h
@@ -159,7 +159,7 @@
 #  define PLAT_s390x_linux 1
 #elif defined(__linux__) && defined(__mips__) && (__mips==64)
 #  define PLAT_mips64_linux 1
-#elif defined(__linux__) && defined(__mips__) && (__mips!=64)
+#elif defined(__linux__) && defined(__mips__) && (__mips!=64) && !defined(__mips16)
 #  define PLAT_mips32_linux 1
 #elif defined(__sun) && defined(__i386__)
 #  define PLAT_x86_solaris 1