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 17:39:54 +0000 (10:39 -0700)
commitaab54b4ce752b16725399d1543602ef3f7736c91
tree824ee57bb91370d110945f9655d359a2e63ae742
parent78345c5195e335140bb13557c25f5fc79985d135
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.
compat/compat.h