Browse code

Adding PPC to endianness detection

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/mzR@57561 bc3139a8-67e5-0310-9ffc-ced21a209358

Steffen Neumann authored on 19/08/2011 07:49:40
Showing1 changed files

... ...
@@ -52,7 +52,7 @@ namespace util {
52 52
 #endif
53 53
 
54 54
 
55
-#if (defined(PWIZ_GCC) && defined(__BYTE_ORDER) && __BYTE_ORDER==__BIG_ENDIAN)
55
+#if (defined(PWIZ_GCC) && defined(__BYTE_ORDER) && __BYTE_ORDER==__BIG_ENDIAN || defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) )
56 56
 #define PWIZ_BIG_ENDIAN
57 57
 #endif
58 58