[cig-commits] r6466 - cs/spatialdata-0.1/trunk/libsrc/geocoords

brad at geodynamics.org brad at geodynamics.org
Thu Mar 29 16:27:56 PDT 2007


Author: brad
Date: 2007-03-29 16:27:55 -0700 (Thu, 29 Mar 2007)
New Revision: 6466

Modified:
   cs/spatialdata-0.1/trunk/libsrc/geocoords/Geoid.cc
Log:
Removed old endian stuff that was replaced with configure macro.

Modified: cs/spatialdata-0.1/trunk/libsrc/geocoords/Geoid.cc
===================================================================
--- cs/spatialdata-0.1/trunk/libsrc/geocoords/Geoid.cc	2007-03-29 23:05:24 UTC (rev 6465)
+++ cs/spatialdata-0.1/trunk/libsrc/geocoords/Geoid.cc	2007-03-29 23:27:55 UTC (rev 6466)
@@ -27,27 +27,7 @@
 #define NATIVE_LITTLE_ENDIAN
 #endif
 
-#if 0
-#if defined(__BYTE_ORDER)
-#if __BYTE_ORDER == __BIG_ENDIAN || __BYTE_ORDER == _BIG_ENDIAN
-#define NATIVE_BIG_ENDIAN
-#elif __BYTE_ORDER == _LITTLE_ENDIAN || __BYTE_ORDER == __LITTLE_ENDIAN
-#define NATIVE_LITTLE_ENDIAN
-#else
-#error Unable to determine endian type
-#endif // BYTE_ORDER cases
-#else // __BYTE_ORDER not defined
-#if defined(BIG_ENDIAN) || defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN)
-#define NATIVE_BIG_ENDIAN
-#elif defined(LITTLE_ENDIAN) || defined(_LITTLE_ENDIAN) || defined(__LITTLE_ENDIAN)
-#define NATIVE_LITTLE_ENDIAN
-#else
-#error Unable to determine endian type
-#endif // ENDIAN cases
-#endif // __BYTE_ORDER defined
-#endif
 
-
 #define MAKEDATAFILE(file) #file
 #define SETDATAFILE(dir,file) MAKEDATAFILE(dir/file)
 



More information about the cig-commits mailing list