From 4e065d920476aada61aca8b3eeff7fc88ec5c8b1 Mon Sep 17 00:00:00 2001 From: Abs62 Date: Fri, 18 Apr 2014 16:33:44 +0400 Subject: [PATCH] Fix compilation under MacOS/Linux --- fulltextsearch.cc | 2 -- mainwindow.cc | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/fulltextsearch.cc b/fulltextsearch.cc index 7041ecc9..4a61db36 100644 --- a/fulltextsearch.cc +++ b/fulltextsearch.cc @@ -10,8 +10,6 @@ #include #include -#include - namespace FTS { diff --git a/mainwindow.cc b/mainwindow.cc index 5c3c0690..16c995af 100644 --- a/mainwindow.cc +++ b/mainwindow.cc @@ -47,8 +47,6 @@ #define gdStoreNormalGeometryEvent ( ( QEvent::Type )( QEvent::User + 1 ) ) #define gdApplyNormalGeometryEvent ( ( QEvent::Type )( QEvent::User + 2 ) ) -#define MIN_THREAD_COUNT 4 - #endif #ifdef Q_WS_X11 @@ -56,6 +54,8 @@ #include #endif +#define MIN_THREAD_COUNT 4 + using std::set; using std::wstring; using std::map;