From ea0d6aeabd8cac71f2ef15dcc99b02bd8338c1bf Mon Sep 17 00:00:00 2001 From: HanatoK Date: Mon, 14 Oct 2024 14:01:02 -0500 Subject: [PATCH] Workaround for the MSVC compiler --- src/colvar_rotation_derivative.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/colvar_rotation_derivative.h b/src/colvar_rotation_derivative.h index 17bbd0b85..b1b3e6d66 100644 --- a/src/colvar_rotation_derivative.h +++ b/src/colvar_rotation_derivative.h @@ -1,6 +1,10 @@ #ifndef COLVAR_ROTATION_DERIVATIVE #define COLVAR_ROTATION_DERIVATIVE +#ifdef _MSC_VER +#define __restrict__ +#endif + #include "colvartypes.h" #include #include