Skip to content

Commit

Permalink
That's BIG_ENDIAN and LITTLE_ENDIAN
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Mar 5, 2014
1 parent 0f8c245 commit 0565937
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions configure
Expand Up @@ -4844,11 +4844,12 @@ $as_echo "$ac_cv_c_bigendian" >&6; }
case $ac_cv_c_bigendian in #(
yes)
$as_echo "#define BIGENDIAN 1" >>confdefs.h
$as_echo "#define BIG_ENDIAN 1" >>confdefs.h
;; #(
no)
$as_echo "#define LITTLEENDIAN 1" >>confdefs.h
$as_echo "#define LITTLE_ENDIAN 1" >>confdefs.h
;; #(
universal)
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -206,8 +206,8 @@ dnl # check for system bytesex
dnl # AC_DEFINES WORDS_BIGENDIAN
dnl #
AC_C_BIGENDIAN(
[AC_DEFINE(BIGENDIAN, 1, [Define if your processor stores words with the most significant byte first])],
[AC_DEFINE(LITTLEENDIAN, 1, [Define if your processor stores words with the least significant byte first])]
[AC_DEFINE(BIG_ENDIAN, 1, [Define if your processor stores words with the most significant byte first])],
[AC_DEFINE(LITTLE_ENDIAN, 1, [Define if your processor stores words with the least significant byte first])]
)

dnl #
Expand Down
4 changes: 2 additions & 2 deletions src/include/autoconf.h.in
Expand Up @@ -5,7 +5,7 @@

/* Define if your processor stores words with the most significant byte first
*/
#undef BIGENDIAN
#undef BIG_ENDIAN

/* BSD-Style get*byaddr_r */
#undef BSDSTYLE
Expand Down Expand Up @@ -400,7 +400,7 @@

/* Define if your processor stores words with the least significant byte first
*/
#undef LITTLEENDIAN
#undef LITTLE_ENDIAN

/* define if you have OSFC2 authentication */
#undef OSFC2
Expand Down

0 comments on commit 0565937

Please sign in to comment.