rnnoise icon indicating copy to clipboard operation
rnnoise copied to clipboard

handle non-vla compilers

Open marler8997 opened this issue 1 year ago • 0 comments

Leverages the C std version and the standard __STDC_NO_VLA__ macro to detect whether VLA is supported, and if not falls back to using alloca.

This is needed to support the MSVC compiler. With this (and defining M_PI) I was able to compile rnnoise with MSVC.

marler8997 avatar Nov 22 '23 16:11 marler8997