|
@@ -77,6 +77,8 @@
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef SIMD_WASM
|
|
#ifdef SIMD_WASM
|
|
|
|
|
+#undef __DEPRECATED
|
|
|
|
|
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
|
|
#include <wasm_simd128.h>
|
|
#include <wasm_simd128.h>
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
@@ -1028,7 +1030,7 @@ static unsigned int getCpuFeatures()
|
|
|
return cpuinfo[2];
|
|
return cpuinfo[2];
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-unsigned int cpuid = getCpuFeatures();
|
|
|
|
|
|
|
+static unsigned int cpuid = getCpuFeatures();
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
} // namespace meshopt
|
|
} // namespace meshopt
|