use the conditional in the right way

This commit is contained in:
Konstantinos Margaritis
2023-10-04 20:35:58 +03:00
parent bfe1aa52f1
commit 4ae1aebc1b
3 changed files with 6 additions and 0 deletions

View File

@@ -46,6 +46,7 @@
#if defined(__clang__) && (__clang_major__ == 15)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecate-lax-vec-conv-all"
#endif // defined(__clang__) && (__clang_major__ == 15)
typedef __vector unsigned long long int uint64x2_t;
typedef __vector signed long long int int64x2_t;
@@ -424,6 +425,7 @@ m128 set2x64(u64a hi, u64a lo) {
return (m128) v;
}
#if defined(__clang__) && (__clang_major__ == 15)
#pragma clang diagnostic pop
#endif // defined(__clang__) && (__clang_major__ == 15)