diff options
author | Chris Dyer <redpony@gmail.com> | 2014-01-20 20:00:16 -0500 |
---|---|---|
committer | Chris Dyer <redpony@gmail.com> | 2014-01-20 20:00:16 -0500 |
commit | 44a54840b888a9cdd6444472da88f480ceafced2 (patch) | |
tree | e518550aae77a88c4f4078884a3d0648ff00fb4e /extractor/run_extractor.cc | |
parent | 02a764cc553f238cdd0be4c6dee4ea144cda84ba (diff) |
fix for build
Diffstat (limited to 'extractor/run_extractor.cc')
-rw-r--r-- | extractor/run_extractor.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extractor/run_extractor.cc b/extractor/run_extractor.cc index f1aa5e35..00564a36 100644 --- a/extractor/run_extractor.cc +++ b/extractor/run_extractor.cc @@ -8,7 +8,11 @@ #include <boost/filesystem.hpp> #include <boost/program_options.hpp> #include <boost/program_options/variables_map.hpp> +#if HAVE_OPEN_MP #include <omp.h> +#else + const unsigned omp_get_num_threads() { return 1; } +#endif #include "alignment.h" #include "data_array.h" |