1
0
Fork 0

Endian detection.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@609
This commit is contained in:
Sjoerd van der Berg 2002-12-30 21:52:26 +00:00
parent 1bd011d74b
commit a70ff185dd

View file

@ -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