--- trunk/gadget/interruptinterface.cc 2015/07/30 12:36:46 14 +++ trunk/gadget/interruptinterface.cc 2015/10/13 11:29:01 16 @@ -5,7 +5,7 @@ extern Ecosystem* EcoSystem; -#ifndef NO_OPENMP +#ifdef _OPENMP extern Ecosystem** EcoSystems; #endif @@ -13,7 +13,7 @@ if (EcoSystem->getFuncEval() != 0) { int iters = EcoSystem->getFuncEval(); - #ifndef NO_OPENMP + #ifdef _OPENMP int numThr = omp_get_max_threads ( ); for (int i = 0; i < numThr; i++) iters += EcoSystems[i]->getFuncEval();