Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2002-04-22 | Makefile fragment to determine the endianness of the platform by checking | jlam | 1 | -0/+51 | |
header files. It defines MACHINE_ENDIAN which is one of three values: little, big, or unknown. This file is used in package Makefiles as follows: .include "../../mk/endian.mk" .if ${MACHINE_ENDIAN} == "big" # ...big endian stuff... .elif ${MACHINE_ENDIAN} == "little" # ...little endian stuff... .else BROKEN= "Unknown endianness" .endif |