diff -r b72c6db6890b -r 5dc02b23752f tools/assistant/lib/fulltextsearch/qclucene_global_p.h --- a/tools/assistant/lib/fulltextsearch/qclucene_global_p.h Wed Jun 23 19:07:03 2010 +0300 +++ b/tools/assistant/lib/fulltextsearch/qclucene_global_p.h Tue Jul 06 15:10:48 2010 +0300 @@ -36,7 +36,7 @@ #include #include -#if !defined(_MSC_VER) && defined(_CL_HAVE_WCHAR_H) && defined(_CL_HAVE_WCHAR_T) +#if !defined(_MSC_VER) && !defined(__MINGW32__) && defined(_CL_HAVE_WCHAR_H) && defined(_CL_HAVE_WCHAR_T) # if !defined(TCHAR) # define TCHAR wchar_t # endif