Skip to content

Commit

Permalink
Use VISP_HAVE_OPENMP macro instead of _OPENMP
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Nov 3, 2024
1 parent 998ca20 commit 5c2e8aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ void vpPanda3DGeometryRenderer::getRender(vpImage<vpRGBf> &normals, vpImage<floa
const float *const rowData = data - i * rowIncrement;
vpRGBf *normalRow = normals[top + i];
float *depthRow = depth[top + i];
#if defined(_OPENMP)
#if defined(VISP_HAVE_OPENMP)
#pragma omp parallel for
#endif
for (int j = 0; j < image_width; ++j) {
Expand Down

0 comments on commit 5c2e8aa

Please sign in to comment.