Fix crash on arm64 mac
This commit is contained in:
@@ -44,11 +44,11 @@ public:
|
||||
}
|
||||
FORCE_INLINE static int32 AtomicRead(int32 volatile* dst)
|
||||
{
|
||||
return __atomic_load_n(dst, __ATOMIC_SEQ_CST);
|
||||
return __atomic_load_n(dst, __ATOMIC_RELAXED);
|
||||
}
|
||||
FORCE_INLINE static int64 AtomicRead(int64 volatile* dst)
|
||||
{
|
||||
return __atomic_load_n(dst, __ATOMIC_SEQ_CST);
|
||||
return __atomic_load_n(dst, __ATOMIC_RELAXED);
|
||||
}
|
||||
FORCE_INLINE static void AtomicStore(int32 volatile* dst, int32 value)
|
||||
{
|
||||
|
||||
@@ -165,7 +165,6 @@ namespace Flax.Build.Platforms
|
||||
commonArgs.Add("-Wno-nullability-completeness");
|
||||
commonArgs.Add("-Wno-undef-prefix");
|
||||
commonArgs.Add("-Wno-expansion-to-defined");
|
||||
commonArgs.Add("-Wno-non-virtual-dtor");
|
||||
|
||||
// Hide all symbols by default
|
||||
commonArgs.Add("-fvisibility-inlines-hidden");
|
||||
|
||||
Reference in New Issue
Block a user