Prepared windows port by removing a number of spurious reference to unix-specific interfaces, and using some xapian posix adaptor includes

This commit is contained in:
Jean-Francois Dockes
2015-08-19 14:41:10 +02:00
parent 14ab6909f3
commit c6e228b7c6
37 changed files with 566 additions and 382 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
#include "autoconfig.h"
#include <sys/stat.h>
#include "safesysstat.h"
#include <string>
#include <vector>
-4
View File
@@ -14,10 +14,6 @@
* Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <unistd.h>
#include <stdlib.h>
#include <time.h>
#include <sys/stat.h>
#include <list>
#include <utility>
+1 -3
View File
@@ -18,9 +18,7 @@
/** Saving and restoring named queries */
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "safesysstat.h"
#include <QSettings>
#include <QMessageBox>
+1 -1
View File
@@ -107,7 +107,7 @@ unix {
@LIBICONV@ $(BDYNAMIC) @LIBQZEITGEIST@ -lz
INCLUDEPATH += ../common ../index ../internfile ../query ../unac \
../utils ../aspell ../rcldb ../qtgui \
../utils ../aspell ../rcldb ../qtgui ../xaposix \
confgui
DEPENDPATH += $$INCLUDEPATH
}
+4 -5
View File
@@ -17,12 +17,9 @@
#include "autoconfig.h"
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/stat.h>
#include "safesysstat.h"
#include <string>
using std::string;
#include <QCheckBox>
#include <QMessageBox>
@@ -35,6 +32,8 @@ using std::string;
#include "readfile.h"
#include "execmd.h"
using std::string;
static const char *rautostartfile = ".config/autostart/recollindex.desktop";
// Just in case we don't find the file in the shared dir, have a
+1 -1
View File
@@ -16,7 +16,7 @@
*/
#include "autoconfig.h"
#include <sys/stat.h>
#include "safesysstat.h"
#include <string>
#include <algorithm>