mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
Fix OS2 build
This commit is contained in:
parent
10a4556479
commit
48f2b6fb66
@ -58,6 +58,9 @@
|
|||||||
#else
|
#else
|
||||||
#include <shlobj.h>
|
#include <shlobj.h>
|
||||||
#include <winbase.h>
|
#include <winbase.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(Q_WS_WIN) || defined(Q_OS_OS2)
|
||||||
#include <QDesktopServices>
|
#include <QDesktopServices>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -47,7 +47,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef Q_WS_WIN
|
#ifdef Q_WS_WIN
|
||||||
#include <shlobj.h>
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <PowrProf.h>
|
#include <PowrProf.h>
|
||||||
const int UNLEN = 256;
|
const int UNLEN = 256;
|
||||||
@ -68,10 +67,6 @@ const int UNLEN = 256;
|
|||||||
#endif
|
#endif
|
||||||
#endif // DISABLE_GUI
|
#endif // DISABLE_GUI
|
||||||
|
|
||||||
#if defined(Q_WS_WIN) || defined(Q_OS_OS2)
|
|
||||||
#include <QDesktopServices>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using namespace libtorrent;
|
using namespace libtorrent;
|
||||||
|
|
||||||
static struct { const char *source; const char *comment; } units[] = {
|
static struct { const char *source; const char *comment; } units[] = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user