forked from lijiext/lammps
since the new Intel compiler is LLVM based the _noalias macro needs to be defined like for GNU and Clang
This commit is contained in:
parent
7ba0d553e4
commit
c0d13d064c
|
@ -252,9 +252,9 @@ union ubuf {
|
|||
|
||||
// declaration to lift aliasing restrictions
|
||||
|
||||
#if defined(__INTEL_LLVM_COMPILER) || defined(__INTEL_COMPILER)
|
||||
#if defined(__INTEL_COMPILER)
|
||||
#define _noalias restrict
|
||||
#elif defined(__GNUC__)
|
||||
#elif defined(__GNUC__) || defined(__INTEL_LLVM_COMPILER)
|
||||
#define _noalias __restrict
|
||||
#else
|
||||
#define _noalias
|
||||
|
|
Loading…
Reference in New Issue