D Haley 27c35eb
diff -r 522fed67ed37 src/backend/APT/APTFileIO.cpp
D Haley 27c35eb
--- src/backend/APT/APTFileIO.cpp	Mon Aug 28 13:47:41 2017 +0100
D Haley 27c35eb
+++ src/backend/APT/APTFileIO.cpp	Mon Aug 28 13:49:44 2017 +0100
D Haley 27c35eb
@@ -956,7 +956,7 @@
D Haley 27c35eb
 		ASSERT(forceEndian < 3);
D Haley 27c35eb
 #ifdef __LITTLE_ENDIAN__
D Haley 27c35eb
 		endianFlip=(forceEndian == 2);
D Haley 27c35eb
-#elif __BIG_ENDIAN
D Haley 27c35eb
+#elif defined(__BIG_ENDIAN__)
D Haley 27c35eb
 		endianFlip=(forceEndian == 1);
D Haley 27c35eb
 #endif
D Haley 27c35eb
 	}
D Haley 27c35eb
@@ -1225,7 +1225,7 @@
D Haley 27c35eb
 
D Haley 27c35eb
 			//assign the ID as the mass to charge
D Haley 27c35eb
 			h.setMassToCharge(*( (short*)(buffer+12) ));
D Haley 27c35eb
-#elif __BIG_ENDIAN__
D Haley 27c35eb
+#elif defined(__BIG_ENDIAN__)
D Haley 27c35eb
 			{
D Haley 27c35eb
 			Point3D pt((float*)(buffer));
D Haley 27c35eb
 			pt.switchEndian();