Index: trunk/pois/swig/simpleFits.c
===================================================================
--- trunk/pois/swig/simpleFits.c	(revision 3825)
+++ trunk/pois/swig/simpleFits.c	(revision 3867)
@@ -16,10 +16,4 @@
 #include "simpleFits.h"
    
-#if !defined(PS_LITTLE_ENDIAN)
-#   if defined(Darwin)
-#       define PS_LITTLE_ENDIAN 1
-#   endif
-#endif
-
 #define FITS_SIZE 2880
 
@@ -437,5 +431,5 @@
     static int warned = 0;		/* Did we warn about BZERO/BSCALE? */
 
-#if defined(PS_LITTLE_ENDIAN)		/* we'll need to byte swap FITS */
+#if PS_BIGENDIAN == 0			/* we'll need to byte swap FITS */
     if(bytes_per_pixel > 1) {
 	swap_bytes = 1;
