Skip to content

Commit

Permalink
Feature 1926. Add _OPENMP ifdef for omp.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-mglover committed Nov 18, 2021
1 parent e0257c6 commit 7d81d41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion met/src/basic/vx_util/data_plane_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ using namespace std;
#include <string.h>
#include <unistd.h>

#include "omp.h"
#ifdef _OPENMP
#include "omp.h"
#endif

#include "data_plane_util.h"
#include "interp_util.h"
Expand Down
4 changes: 3 additions & 1 deletion met/src/tools/core/grid_stat/grid_stat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ using namespace std;
#include <sys/types.h>
#include <unistd.h>

#include "omp.h"
#ifdef _OPENMP
#include "omp.h"
#endif

#include "grid_stat.h"

Expand Down

0 comments on commit 7d81d41

Please sign in to comment.