[svn:parrot] r43468 - trunk/config/auto/byteorder

gerd at svn.parrot.org gerd at svn.parrot.org
Fri Jan 15 15:05:25 UTC 2010


Author: gerd
Date: Fri Jan 15 15:05:07 2010
New Revision: 43468
URL: https://trac.parrot.org/parrot/changeset/43468

Log:
Add defined condition for __arm__ to build on the arm architecture.
M config/auto/byteorder/test_c.in

Modified:
   trunk/config/auto/byteorder/test_c.in

Modified: trunk/config/auto/byteorder/test_c.in
==============================================================================
--- trunk/config/auto/byteorder/test_c.in	Fri Jan 15 10:15:52 2010	(r43467)
+++ trunk/config/auto/byteorder/test_c.in	Fri Jan 15 15:05:07 2010	(r43468)
@@ -15,6 +15,14 @@
         unsigned char b[sizeof (@iv@)/sizeof (unsigned char)];
         @iv@ w;
     } w;
+#if defined(__ARM__) || defined(__arm__)
+#   if defined(__ARMEB__)
+    printf("87654321\n");
+#   else
+    printf("1234\n");
+#   endif
+    return 0;
+#endif
     if (sizeof (w) == 4) {
         w.w = 0x04030201;
     }


More information about the parrot-commits mailing list