mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 13:41:26 -07:00
Fix OS2 build
This commit is contained in:
parent
10a4556479
commit
48f2b6fb66
2 changed files with 3 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue