mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
新增windows中_M_ARM64 _M_ARM _M_X64 CPU指定集识别
This commit is contained in:
parent
a754a22680
commit
950f33bd3f
@ -118,6 +118,18 @@ static std::string httpBody() {
|
||||
#define __amd64
|
||||
#endif
|
||||
|
||||
#if (defined(_M_ARM64) && !defined(__arm64__))
|
||||
#define __arm64__
|
||||
#endif
|
||||
|
||||
#if (defined(_M_X64) && !defined(__x86_64__))
|
||||
#define __x86_64__
|
||||
#endif
|
||||
|
||||
#if (defined(_M_ARM) && !defined(__arm__))
|
||||
#define __arm__
|
||||
#endif
|
||||
|
||||
#if (defined(__i386__) || defined(__amd64__)) && (!defined(__x86__))
|
||||
#if !(defined(_MSC_VER) && defined(__amd64__))
|
||||
#define __x86__ // MSVC doesn't support inline assembly in x64
|
||||
|
Loading…
Reference in New Issue
Block a user