From a94c341474430bc15d580c6ac0bbf72102d739af Mon Sep 17 00:00:00 2001 From: Mike Oliphant Date: Fri, 27 Feb 2026 09:30:25 -0800 Subject: [PATCH] Use "__restrict" instead of "__restrict__" on MSVC --- NAM/dsp.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NAM/dsp.h b/NAM/dsp.h index 15bc9b81..0b4e1eff 100644 --- a/NAM/dsp.h +++ b/NAM/dsp.h @@ -21,6 +21,10 @@ /// \brief Use a sample rate of -1 if we don't know what the model expects to be run at #define NAM_UNKNOWN_EXPECTED_SAMPLE_RATE -1.0 +#if defined(_MSC_VER) && !defined(__llvm__) +#define __restrict__ __restrict +#endif + namespace nam { namespace wavenet