aboutsummaryrefslogtreecommitdiff
path: root/compat/compat.h
Commit message (Collapse)AuthorAge
* Wrap the compat header in extern "C" { } when compiling C++ sourcesTomas Carnecky2010-04-27
| | | | | | | This fixes a build error on OpenSolaris where the final liking of notmuch fails because the linker can't find strcasestr() referenced from thread.cc. (cherry picked from commit aab54b4ce752b16725399d1543602ef3f7736c91)
* Add simplistic reimplementation of strcasestr to compat libraryDirk Hohndel2010-04-14
| | | | | | | | | | While all systems that I have access to support strcasestr, it is in fact not part of POSIX. So here's a fallback reimplementation based on POSIX functions. Signed-off-by: Dirk Hohndel <hohndel@infradead.org> Tested-by: Tomas Carnecky <tom@dbservice.com> (on OpenSolaris snv_134)
* compat: Change includes from config.h to compat.h.Carl Worth2009-12-01
We may switch to using an autoconf-like config.h, but we're not doing that just yet.