aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/config.h.post
Commit message (Collapse)AuthorAgeFilesLines
* Byte-order functions for Mac OS X.Ingo Schwarze2013-10-031-1/+7
| | | | | Same patch sent in by Franco Fichtner and Kristaps Dzonsons. Tested by Franco Fichtner <franco at lastsummer dot de>.
* Final tweaks for the release candidate:Ingo Schwarze2013-09-291-0/+3
| | | | | | * Test for betoh64(), otherwise use be64toh(). * In the Makefile, improve the explanation of STATIC. * Update VERSION and VDATE.
* Remove lint from Makefile.Kristaps Dzonsons2012-06-081-14/+0
| | | | | | | 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).
* FreeBSD, NetBSD and DragonFly use the same names as Linux.Joerg Sonnenberger2012-03-241-1/+5
| | | | Add dummy entry for OpenBSD and XXX entry for the rest.
* Compatibility support fgetln() on Linux. This uses the BSD-licensedKristaps Dzonsons2011-12-131-0/+3
| | | | | | | | | | implementation from NetBSD tnftpd, Christos Zoulas (copyright message retained in the compat_fgetln.c file). Patch verified by schwarze@. He notes that you'll need -pthread for -static binaries (due to libdb), so I've noted that -static should really only be used for BSD UNIX. While here, add some forgotten goop to the Makefile, building and cleaning extra manpages.
* This is a little gross: Linux and Apple need lots some cajoling to workKristaps Dzonsons2011-12-021-0/+10
| | | | | | | | with byte-swapping. Tested on Mac. Any Linux machines somebody can test on? Anybody? While here, note the correct byte-size in mandocdb(8) and also note field widths and endianness. The btree is now endian-neutral.
* Scary-looking but otherwise harmless changes allow me to build for Windows.Kristaps Dzonsons2011-07-241-0/+4
| | | | | | | | | | | | That is to say, with mingw32. This amounts to the following: (1) break compat.c into compat_strlcpy.c and compat_strlcat.c (2) add compat_getsubopt.c (from OpenBSD) and test-getsubopt.c (3) add test-strptime.c for HAVE_STRPTIME (4) add ifdef bits here and there, where necessary (5) remove some harmless unportable stuff (u_char, localtime_r) I've added the appropriate mdocml.zip target to the Makefile, too.
* Big check-in of compatibility layer. This should work on most major ↵Kristaps Dzonsons2010-01-011-0/+25
architectures. Thanks to Joerg Sonnenberger.