Skip to content

Commit

Permalink
do not include omp on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
akaszynski committed Aug 20, 2024
1 parent f80c656 commit 12db7bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/clustering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include <cstddef>
#include <cstdint>
#include <limits>
#include <omp.h>
#include <vector>

#include <nanobind/nanobind.h>
Expand All @@ -13,6 +12,10 @@

#include "array_support.h"

#if !defined(__APPLE__)
#include <omp.h>
#endif

#if defined(__linux__) || defined(__APPLE__)
typedef int64_t vtk_int;
#else
Expand Down

0 comments on commit 12db7bc

Please sign in to comment.