mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
Fix compilation under MacOS/Linux
This commit is contained in:
parent
67227eda6b
commit
4e065d9204
|
@ -10,8 +10,6 @@
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <qalgorithms.h>
|
#include <qalgorithms.h>
|
||||||
|
|
||||||
#include <windows.h>
|
|
||||||
|
|
||||||
namespace FTS
|
namespace FTS
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -47,8 +47,6 @@
|
||||||
#define gdStoreNormalGeometryEvent ( ( QEvent::Type )( QEvent::User + 1 ) )
|
#define gdStoreNormalGeometryEvent ( ( QEvent::Type )( QEvent::User + 1 ) )
|
||||||
#define gdApplyNormalGeometryEvent ( ( QEvent::Type )( QEvent::User + 2 ) )
|
#define gdApplyNormalGeometryEvent ( ( QEvent::Type )( QEvent::User + 2 ) )
|
||||||
|
|
||||||
#define MIN_THREAD_COUNT 4
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef Q_WS_X11
|
#ifdef Q_WS_X11
|
||||||
|
@ -56,6 +54,8 @@
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define MIN_THREAD_COUNT 4
|
||||||
|
|
||||||
using std::set;
|
using std::set;
|
||||||
using std::wstring;
|
using std::wstring;
|
||||||
using std::map;
|
using std::map;
|
||||||
|
|
Loading…
Reference in a new issue