libgsf r1018 - in trunk: . gsf



Author: jdassen
Date: Thu Oct 23 18:17:20 2008
New Revision: 1018
URL: http://svn.gnome.org/viewvc/libgsf?rev=1018&view=rev

Log:
Natural endian doubles aren't just used on VFP enabled ARM, but on ARM with
EABI as well. Adjust the logic for defining G_FLOAT_BYTE_ORDER accordingly.
Patch courtesy of Riku Voipio <riku voipio iki fi>. (Debian #503144)


Modified:
   trunk/ChangeLog
   trunk/gsf/gsf-utils.c

Modified: trunk/gsf/gsf-utils.c
==============================================================================
--- trunk/gsf/gsf-utils.c	(original)
+++ trunk/gsf/gsf-utils.c	Thu Oct 23 18:17:20 2008
@@ -73,7 +73,7 @@
  * mixture.
  */
 #define G_ARMFLOAT_ENDIAN 56781234
-#if defined(__arm__) && !defined(__vfp__) && (G_BYTE_ORDER == G_LITTLE_ENDIAN)
+#if defined(__arm__) && !defined(__ARM_EABI__) && (G_BYTE_ORDER == G_LITTLE_ENDIAN)
 #define G_FLOAT_BYTE_ORDER G_ARMFLOAT_ENDIAN
 #else
 #define G_FLOAT_BYTE_ORDER G_BYTE_ORDER



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