From 682cf5f7687081b69561e7c9585899187fbd0220 Mon Sep 17 00:00:00 2001 From: Szilard Pall Date: Wed, 18 Apr 2012 00:56:56 +0200 Subject: [PATCH] added missing #ifdef around #include "thread_mpi.h" Due to the the missing #ifdef mdrun was not compiling with compilers that don't like thread_mpi.h (e.g. Cray compiler). Change-Id: Ibf980b46aaf56b81fffec5ada7cb3d93492a2220 --- src/gmxlib/shift_util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gmxlib/shift_util.c b/src/gmxlib/shift_util.c index 201b432e87..176077a36e 100644 --- a/src/gmxlib/shift_util.c +++ b/src/gmxlib/shift_util.c @@ -52,7 +52,9 @@ #include "pppm.h" #include "gmxfio.h" +#ifdef GMX_THREADS #include "thread_mpi.h" +#endif #define p2(x) ((x)*(x)) #define p3(x) ((x)*(x)*(x)) -- 2.22.0