Support CMake build with MSVC
PiperOrigin-RevId: 306688450
diff --git a/src/f32-vbinary/gen/vmaxc-wasm-x1.c b/src/f32-vbinary/gen/vmaxc-wasm-x1.c
index 3ac5488..974b235 100644
--- a/src/f32-vbinary/gen/vmaxc-wasm-x1.c
+++ b/src/f32-vbinary/gen/vmaxc-wasm-x1.c
@@ -19,7 +19,7 @@
const float* a,
const float* b,
float* y,
- const union xnn_f32_default_params params[restrict static 1])
+ const union xnn_f32_default_params params[restrict XNN_MIN_ELEMENTS(1)])
{
assert(n != 0);
assert(n % sizeof(float) == 0);