include omp.h only if _OPENMP is defined
This commit is contained in:
parent
04f6367bac
commit
b01c7ac0f0
2 changed files with 5 additions and 0 deletions
|
|
@ -31,7 +31,10 @@
|
|||
#include <utils/eoLogger.h>
|
||||
#include <eoFunctor.h>
|
||||
#include <vector>
|
||||
|
||||
#ifdef _OPENMP
|
||||
#include <omp.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
Applies a unary function to a std::vector of things.
|
||||
|
|
|
|||
|
|
@ -25,7 +25,9 @@ Caner Candan <caner.candan@thalesgroup.com>
|
|||
|
||||
*/
|
||||
|
||||
#ifdef _OPENMP
|
||||
#include <omp.h>
|
||||
#endif
|
||||
|
||||
#include "eoParallel.h"
|
||||
#include "eoLogger.h"
|
||||
|
|
|
|||
Reference in a new issue