NetBSD/external/bsd/mdocml/dist/test-be32toh.c

12 lines
147 B
C

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