summaryrefslogtreecommitdiffstats
path: root/compat.h
AgeCommit message (Collapse)Author
2021-01-17Look for libevent2 differently from libevent for platforms with both.Nicholas Marriott
2020-11-09Scaffold for oss-fuzz, from Sergey Nizovtsev.Nicholas Marriott
2020-11-09Add support for Haiku, from David Carlier. GitHub issue 2453.Nicholas Marriott
2020-10-06glibc's malloc is very bad about returning memory from the kernel, add a callNicholas Marriott
to its malloc_trim to prompt it to do so. Reported by Sarunas Valaskevicius.
2020-09-04Hide warnings due to Apple's stupidity with __dead, reported by Kurtis Rader.Nicholas Marriott
2020-06-18Add getline compat.Nicholas Marriott
2020-05-22Maybe this is better.Nicholas Marriott
2020-05-22Think Solaris needs term.h here.Nicholas Marriott
2020-05-22Fix utf8proc version logging.Nicholas Marriott
2020-05-22Log ncurses and utf8proc versions.Nicholas Marriott
2020-05-01Solaris at least does not have _PATH_VI.Nicholas Marriott
2020-03-17getopt varies too much between platforms, and we already use compat/getopt.cNicholas Marriott
for Linux so just use it everywhere.
2020-01-25Use FNM_IGNORECASE if present, from Eric N Vander Weele in GitHub issue 2067.Nicholas Marriott
2019-12-16Define FNM_CASEFOLD to 0 for AIX, from Eric N Vander Weele.Nicholas Marriott
2019-12-03Check each _PATH_* define individually (Solaris has paths.h but not all of theNicholas Marriott
defines). From Eric N Vander Weele.
2019-05-27Remove unused fparseln compat code.Nicholas Marriott
2019-04-09Add PATH_DEFPATH to compat.h from Carlo Marcelo Arenas Belón.Nicholas Marriott
2017-10-11Include headers if found regardless of forkpty.Nicholas Marriott
2017-06-09Add memmem to compat.Nicholas Marriott
2017-04-20Do not need getopt.h for getopt, from Eric N Vander Weele.Nicholas Marriott
2017-04-20getptmfd() and fdforkpty() compat.Nicholas Marriott
2017-04-19Missed freezero.Nicholas Marriott
2017-03-24Update imsg*.[ch] from OpenBSD, add some compat bits it needs and remove someNicholas Marriott
bits it doesn't.
2017-03-09Compat code for strndup and strnlen.Nicholas Marriott
2017-03-09Solaris fixes, mostly from Dagobert Michelsen.Nicholas Marriott
2017-01-31Add wchar.h to compat.h, from Koichi Shiraishi.Nicholas Marriott
2017-01-25compat/* should not include tmux.h.Nicholas Marriott
2017-01-23Define away pledge() on !OpenBSD.Nicholas Marriott
2017-01-22Add b64_pton as well.Nicholas Marriott
2016-10-13tmux no longer uses openat() so we can remove the compatibilty function.Nicholas Marriott
2016-09-08Solaris build fixes from Rob Paisley.Nicholas Marriott
2016-09-01Add support for using utf8proc with --enable-utf8proc, useful for platformsNicholas Marriott
(like OS X) where the system implementation is crap. From Joshua Rubin.
2016-05-27getprogname() and setproctitle() on Linux.Nicholas Marriott
2016-05-05Add --static to PKG_CONFIG rather than replacing it.Nicholas Marriott
2016-01-19Update my email address.Nicholas Marriott
2015-11-18Add __unused, will be needed shortly.Nicholas Marriott
2015-11-18Add reallocarray prototype.Nicholas Marriott
2015-07-12Update imsg*.[ch] from OpenBSD, including bzero->memset.Nicholas Marriott
2015-06-03-$Id$.Nicholas Marriott
2014-10-21OS X lacks HOST_NAME_MAX, reported by Christian Ebert.Nicholas Marriott
2014-09-23Solaris doesn't have flock and fcntl is useless so make a no-op flock. ReportedNicholas Marriott
by Dagobert Michelsen.
2014-08-09Add compat/fparseln() for non-BSD systemsThomas Adam
Linux and friends don't natively have fparseln() so add it to compat/ and ensure autotools can pick it up.
2014-01-06Use 0 if O_DIRECTORY is missing, reported by Dagobert Michelsen.Nicholas Marriott
2013-10-10Add openat() to compat.Nicholas Marriott
2013-07-12Add support for Cgywin, apparently it is enough just to open the tty again inNicholas Marriott
the server and fd passing is not necessary. Needs some ifdefs unfortunately but no way around that and some of them can go next time we're willing to do a protocol bump. Patch from J Raynor jxraynor at gmail dot com.
2013-04-22Add compat for cfmakeraw, from Dagobert Michelsen.Nicholas Marriott
2013-03-28Add define for timersub to compat.h.Nicholas Marriott
2011-07-22Typo.Nicholas Marriott
2011-07-22Compatibility for b64_ntop, missing from some alternative libc.Nicholas Marriott
2011-07-09Expand the Id keyword. Tiago Cunha