From: Szilard Pall Date: Tue, 17 Apr 2012 22:56:56 +0000 (+0200) Subject: added missing #ifdef around #include "thread_mpi.h" X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=682cf5f7687081b69561e7c9585899187fbd0220;p=alexxy%2Fgromacs.git 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 --- 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))