You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by mc...@apache.org on 2013/09/10 22:24:30 UTC

svn commit: r1521629 - /qpid/trunk/qpid/cpp/src/qpid/legacystore/jrnl/jcfg.h

Author: mcpierce
Date: Tue Sep 10 20:24:29 2013
New Revision: 1521629

URL: http://svn.apache.org/r1521629
Log:
QPID-5126: Fix for building legacy store on ARM platforms

Contributed by: Kim van der Riet <ki...@redhat.com>

Modified:
    qpid/trunk/qpid/cpp/src/qpid/legacystore/jrnl/jcfg.h

Modified: qpid/trunk/qpid/cpp/src/qpid/legacystore/jrnl/jcfg.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/legacystore/jrnl/jcfg.h?rev=1521629&r1=1521628&r2=1521629&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/legacystore/jrnl/jcfg.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/legacystore/jrnl/jcfg.h Tue Sep 10 20:24:29 2013
@@ -33,13 +33,13 @@
 #ifndef QPID_LEGACYSTORE_JRNL_JCFG_H
 #define QPID_LEGACYSTORE_JRNL_JCFG_H
 
-#if defined(__i386__) /* little endian, 32 bits */
+#if defined(__i386__) || (__arm__) /* little endian, 32 bits */
 #define JRNL_LITTLE_ENDIAN
 #define JRNL_32_BIT
 #elif defined(__PPC__) || defined(__s390__)  /* big endian, 32 bits */
 #define JRNL_BIG_ENDIAN
 #define JRNL_32_BIT
-#elif defined(__ia64__) || defined(__x86_64__) || defined(__alpha__) /* little endian, 64 bits */
+#elif defined(__ia64__) || defined(__x86_64__) || defined(__alpha__) || (__arm64__) /* little endian, 64 bits */
 #define JRNL_LITTLE_ENDIAN
 #define JRNL_64_BIT
 #elif defined(__powerpc64__) || defined(__s390x__) /* big endian, 64 bits */



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org