forked from premiere/premiere-libtorrent
Windows: Fix build Visual C++ ARM/ARM64
This commit is contained in:
parent
0ec66e9024
commit
2a97ec6e0e
|
@ -568,7 +568,7 @@ constexpr std::size_t TORRENT_WRITE_HANDLER_MAX_SIZE = 342;
|
||||||
|
|
||||||
#endif // TORRENT_HAS_SSE
|
#endif // TORRENT_HAS_SSE
|
||||||
|
|
||||||
#if (defined __arm__ || defined __aarch64__)
|
#if (defined __arm__ || defined __aarch64__ || defined _M_ARM || defined _M_ARM64)
|
||||||
#define TORRENT_HAS_ARM 1
|
#define TORRENT_HAS_ARM 1
|
||||||
#else
|
#else
|
||||||
#define TORRENT_HAS_ARM 0
|
#define TORRENT_HAS_ARM 0
|
||||||
|
|
|
@ -36,7 +36,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
#include "libtorrent/aux_/disable_warnings_push.hpp"
|
#include "libtorrent/aux_/disable_warnings_push.hpp"
|
||||||
|
|
||||||
#include <boost/crc.hpp>
|
#include <boost/crc.hpp>
|
||||||
#if (defined _MSC_VER && _MSC_VER >= 1600)
|
#if (defined _MSC_VER && _MSC_VER >= 1600 && (defined _M_IX86 || defined _M_X64))
|
||||||
#include <nmmintrin.h>
|
#include <nmmintrin.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include "libtorrent/aux_/disable_warnings_push.hpp"
|
#include "libtorrent/aux_/disable_warnings_push.hpp"
|
||||||
|
|
||||||
#if (defined _MSC_VER && _MSC_VER >= 1600)
|
#if (defined _MSC_VER && _MSC_VER >= 1600 && (defined _M_IX86 || defined _M_X64))
|
||||||
#include <nmmintrin.h>
|
#include <nmmintrin.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue