Commit 25c46593 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

protect OpenMP header include with ifdefs

parent 35abbab9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -32,7 +32,9 @@
#pragma offload_attribute(pop)
#endif

#if defined(_OPENMP)
#include <omp.h>
#endif
#include <string.h>
#include "pair_airebo_intel.h"
#include "atom.h"