7666f5006c
Note that mandoc does not use anymore sqlite3 but a home made database format An important improvement has been made as well in makewhatis performance: Tests on my laptop shows makewhatis on the entire system goes from 26s to 12s
12 lines
147 B
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;
|
|
}
|