fixed endif
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 27 Jun 2007 16:34:48 +0000 (16:34 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 27 Jun 2007 16:34:48 +0000 (16:34 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4865 4a8a32a2-be11-0410-ad9d-d568d2c75423

sdccconf_in.h

index dc3d30b4a0bc3df9b4059f1defb91b06584b7144..bded377be2f5bfe08cee9d78f9473923b3c9177f 100644 (file)
@@ -57,8 +57,8 @@
 /* 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)
@@ -71,6 +71,7 @@
 # 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