Endian detection.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@609
This commit is contained in:
parent
1bd011d74b
commit
a70ff185dd
1 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,8 @@ AC_MSG_CHECKING(if compiler allows __attribute__)
|
|||
AC_TRY_COMPILE([], [typedef struct { } __attribute__ ((packed)) junk;],
|
||||
[ AC_MSG_RESULT(yes);AC_DEFINE(C_HAS_ATTRIBUTE)],AC_MSG_RESULT(no))
|
||||
|
||||
#Check for big endian machine, should #define WORD_BIGENDIAN if so
|
||||
AC_C_BIGENDIAN
|
||||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
|
|
Loading…
Add table
Reference in a new issue