Skip to content

Commit

Permalink
Workaround for the MSVC compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
HanatoK committed Oct 15, 2024
1 parent b56df96 commit ea0d6ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/colvar_rotation_derivative.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#ifndef COLVAR_ROTATION_DERIVATIVE
#define COLVAR_ROTATION_DERIVATIVE

#ifdef _MSC_VER
#define __restrict__
#endif

#include "colvartypes.h"
#include <type_traits>
#include <cstring>
Expand Down

0 comments on commit ea0d6ae

Please sign in to comment.