summaryrefslogtreecommitdiffstats
path: root/config.h.post
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2012-06-08 10:47:17 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2012-06-08 10:47:17 +0000
commitc5ab96fef3857d6878d16856c0d7bc3907a93a6e (patch)
tree0a47a12121f1358f4ed36e0ee43ed32195bbe434 /config.h.post
parentb029b3cbf4ce3eeea06b12cda0ccf718b5c9218a (diff)
downloadmandoc-c5ab96fef3857d6878d16856c0d7bc3907a93a6e.tar.gz
Remove lint from Makefile.
Disable some parts of the build (man.cgi, etc.) while sqlite3 is being merged in nice and slow. Remove the bit swapping stuff in config.h.post. Remove apropos_db (replaced by mansearch).
Diffstat (limited to 'config.h.post')
-rw-r--r--config.h.post14
1 files changed, 0 insertions, 14 deletions
diff --git a/config.h.post b/config.h.post
index 90d1edf9..d04dac99 100644
--- a/config.h.post
+++ b/config.h.post
@@ -15,20 +15,6 @@
# endif
#endif
-#if defined(__APPLE__)
-# define htobe32(x) OSSwapHostToBigInt32(x)
-# define betoh32(x) OSSwapBigToHostInt32(x)
-# define htobe64(x) OSSwapHostToBigInt64(x)
-# define betoh64(x) OSSwapBigToHostInt64(x)
-#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
extern size_t strlcat(char *, const char *, size_t);
#endif