Merge pull request #2216 from dr-robertk/PR/fix-openmp-linking-issue

Linking issue when OpenMP is disabled.
This commit is contained in:
Arne Morten Kvarving
2021-01-20 09:06:40 +01:00
committed by GitHub

View File

@@ -25,7 +25,7 @@
#include "config.h"
#if HAVE_OPENMP
#if _OPENMP
#include <omp.h>
#endif
@@ -69,7 +69,7 @@ int main(int argc, char **argv) {
int argOffset = optind;
#if HAVE_OPENMP
#ifdef _OPENMP
int available_threads = omp_get_max_threads();
if (max_threads < 0)