Fix:support_glib:Made compileable on armv4t
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 6 Jul 2010 07:59:58 +0000 (07:59 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 6 Jul 2010 07:59:58 +0000 (07:59 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@3474 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/support/glib/gutils.h

index bb4da80..e1f3820 100755 (executable)
@@ -353,7 +353,7 @@ g_bit_nth_msf (gulong mask,
 G_INLINE_FUNC guint
 g_bit_storage (gulong number)
 {
-#if defined(__GNUC__) && (__GNUC__ >= 4) && defined(__OPTIMIZE__)
+#if defined(__GNUC__) && (__GNUC__ >= 4) && defined(__OPTIMIZE__) && !defined(__ARM_ARCH_4T__)
   return G_LIKELY (number) ?
           ((GLIB_SIZEOF_LONG * 8 - 1) ^ __builtin_clzl(number)) + 1 : 1;
 #else