mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
Add QBT_APP_64BIT define
Now we use QT_POINTER_SIZE to detect CPU bitness, it has the advantage of applicable to all CPU architectures not limiting to x86 arch.
This commit is contained in:
@@ -31,6 +31,10 @@
|
||||
#include <type_traits>
|
||||
#include <QtGlobal>
|
||||
|
||||
#if (QT_POINTER_SIZE == 8)
|
||||
#define QBT_APP_64BIT
|
||||
#endif
|
||||
|
||||
const char C_TORRENT_FILE_EXTENSION[] = ".torrent";
|
||||
|
||||
template <typename T>
|
||||
|
||||
Reference in New Issue
Block a user