Support CMake build with MSVC
PiperOrigin-RevId: 306688450
diff --git a/src/f32-gemm/avx512-broadcast.c.in b/src/f32-gemm/avx512-broadcast.c.in
index debe35b..e303597 100644
--- a/src/f32-gemm/avx512-broadcast.c.in
+++ b/src/f32-gemm/avx512-broadcast.c.in
@@ -25,7 +25,7 @@
size_t cn_stride,
$if INC:
const float*restrict acc,
- const union xnn_f32_minmax_params params[restrict static 1])
+ const union xnn_f32_minmax_params params[restrict XNN_MIN_ELEMENTS(1)])
{
assert(mr != 0);
assert(mr <= ${MR});