=================================================================== RCS file: /cvs/mandoc/Attic/config.h.post,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- mandoc/Attic/config.h.post 2011/12/13 11:26:12 1.4 +++ mandoc/Attic/config.h.post 2012/03/24 06:23:14 1.5 @@ -20,9 +20,13 @@ # define betoh32(x) OSSwapBigToHostInt32(x) # define htobe64(x) OSSwapHostToBigInt64(x) # define betoh64(x) OSSwapBigToHostInt64(x) -#elif defined(__linux__) +#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) # define betoh32(x) be32toh(x) # define betoh64(x) be64toh(x) +#elif defined(__OpenBSD__) +/* Nothing */ +#else +/* XXX Fallback */ #endif #ifndef HAVE_STRLCAT