freebsd-src/contrib/mandoc/test-be32toh.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
147 B
C
Raw Normal View History

#ifdef SYS_ENDIAN
#include <sys/endian.h>
#else
#include <endian.h>
#endif
int
main(void)
{
return htobe32(be32toh(0x3a7d0cdb)) != 0x3a7d0cdb;
}