clucene: Compile with clang's libc++
authorBradley T. Hughes <bradley.hughes@nokia.com>
Wed, 30 May 2012 09:41:06 +0000 (11:41 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 19 Jun 2012 05:02:04 +0000 (07:02 +0200)
commitbc35938d0d49b04bf98feda3e85da186ecc8184d
tree6f485bacdd66ad4571e2f324c152e03a4197863b
parent6dd107b846336dbcfec79fee24ff0c7544882747
clucene: Compile with clang's libc++

When using clang's libc++, the 'using namespace std;' in CLucene's
StdHeader.h causes ambiguity between wcschr() from wchar.h and
std::wcschr() from cwchar (which is automatically included by libc++).

The only symbols used from the std namespace are std::min() and
std::max() so only pull these in, not the whole std namespace.

Change-Id: I5700f6a221ee0667d4a3bb85110f6fea17a121bf
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/assistant/3rdparty/clucene/src/CLucene/StdHeader.h