From ca747a3a1c430e7dc87251f2b566a6c4feec965e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Fri, 19 Jul 2013 06:48:16 +0200 Subject: [PATCH] PowerPC build fix in mono-hwcap-ppc. --- mono/utils/mono-hwcap-ppc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mono/utils/mono-hwcap-ppc.c b/mono/utils/mono-hwcap-ppc.c index 30e4afb7588..c88b95f6ec8 100644 --- a/mono/utils/mono-hwcap-ppc.c +++ b/mono/utils/mono-hwcap-ppc.c @@ -60,7 +60,7 @@ mono_hwcap_arch_init (void) if ((platform = getauxval(AT_PLATFORM))) { const char *str = (const char *) platform; - if (!strcmp (str, "ppc970") || (!strncmp (str, "power", 5) && arch [5] >= '4' && arch [5] <= '7')) + if (!strcmp (str, "ppc970") || (!strncmp (str, "power", 5) && str [5] >= '4' && str [5] <= '7')) mono_hwcap_ppc_has_multiple_ls_units = TRUE; } #endif -- 2.25.1