Don't check the host OS when determining host ABI
This commit is contained in:
parent
687cf31063
commit
aab10621cc
1 changed files with 4 additions and 4 deletions
|
|
@ -5,11 +5,11 @@ namespace pslang::jit
|
|||
|
||||
abi host_abi()
|
||||
{
|
||||
#if defined(__linux__) and defined(__x86_64__)
|
||||
#if defined(__x86_64__)
|
||||
return abi::itanium;
|
||||
#elif defined(__APPLE__) and defined(__ARM64_ARCH_8__)
|
||||
#elif defined(__ARM64_ARCH_8__)
|
||||
return abi::armv8;
|
||||
#elif defined(_WIN64) and defined(_M_AMD64)
|
||||
#elif defined(_M_AMD64)
|
||||
return abi::msvs;
|
||||
#else
|
||||
#error Unknown host ABI
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue