Wrap the compat header in extern "C" { } when compiling C++ sources
authorTomas Carnecky <tom@dbservice.com>
Tue, 27 Apr 2010 17:27:17 +0000 (19:27 +0200)
committerCarl Worth <cworth@cworth.org>
Tue, 27 Apr 2010 18:11:11 +0000 (11:11 -0700)
commit4b193950a9bf8fb907427526a6191f51e0e2d13c
treec3cbc5ba5608fa9ba43b711f89caa14f6e4b54c6
parent8fe3ee6f270efae66e7e0287e32f93a9b48c7a32
Wrap the compat header in extern "C" { } when compiling C++ sources

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)
compat/compat.h