/* find out the endianess of host machine */
#if __BIG_ENDIAN__ || _BIG_ENDIAN
/* 1) trust the compiler */
-#define WORDS_BIGENDIAN 1
-#elsif __LITTLE_ENDIAN__
+# define WORDS_BIGENDIAN 1
+#elif __LITTLE_ENDIAN__
/* just in case ... */
#undef WORDS_BIGENDIAN
#elif (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
# undef BUILD_WORDS_BIGENDIAN
# if (defined BUILD_WORDS_BIGENDIAN && BUILD_WORDS_BIGENDIAN)
# define WORDS_BIGENDIAN 1
+# endif
/* 4) assume that host is a little endian machine */
#endif