summaryrefslogtreecommitdiffstats
path: root/config.h.post
Commit message (Collapse)AuthorAgeFilesLines
* prototype for reallocarray()Ingo Schwarze2014-04-231-0/+3
|
* Even though strnlen(3) is required by POSIX 2008,Ingo Schwarze2014-01-041-9/+10
| | | | | | Matthias Scheler reports than Solaris 10 lacks it. While here, sort the declarations in config.h and move the headers to the top.
* Provide strcasestr(3) and strsep(3) for Solaris 10 compat;Ingo Schwarze2013-12-311-0/+6
| | | | reported missing by Matthias Scheler <tron at NetBSD> via wiz@.
* 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.