--- trunk/gadget/gadget.cc 2015/09/01 19:14:33 15 +++ trunk/gadget/gadget.cc 2015/10/13 11:29:01 16 @@ -6,7 +6,7 @@ #include "stochasticdata.h" #include "interrupthandler.h" #include "global.h" -#ifndef NO_OPENMP +#ifdef _OPENMP #include #endif @@ -149,7 +149,7 @@ EcoSystem->writeStatus(main.getPrintInitialFile()); } -#ifndef NO_OPENMP +#ifdef _OPENMP int numThr = omp_get_max_threads ( ); EcoSystems = new Ecosystem*[numThr]; int i;