summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/pconfig.h
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-06-06 20:41:11 +0200
committer couriersud <couriersud@gmx.org>2020-06-06 20:43:10 +0200
commit3f9bb5d1eae63463ee7b193d8544a98f36a2fe55 (patch)
tree914031a1938ce104f0169193e4d797a107c13d35 /src/lib/netlist/plib/pconfig.h
parentc891603d86f08eecc7e7d9620fd4211173461aec (diff)
netlist: Enable utf7 filenames on windows. (nw)
Diffstat (limited to 'src/lib/netlist/plib/pconfig.h')
-rw-r--r--src/lib/netlist/plib/pconfig.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/netlist/plib/pconfig.h b/src/lib/netlist/plib/pconfig.h
index 8b169260360..4e116b90344 100644
--- a/src/lib/netlist/plib/pconfig.h
+++ b/src/lib/netlist/plib/pconfig.h
@@ -42,7 +42,7 @@
/// OpenMP adds about 10% to 20% performance for analog netlists.
///
#ifndef PUSE_OPENMP
-#define PUSE_OPENMP (0)
+#define PUSE_OPENMP (1)
#endif
/// \brief Use aligned optimizations.
@@ -173,7 +173,9 @@ typedef __float128 FLOAT128;
#if (PUSE_OPENMP)
#if (!(PHAS_OPENMP))
-#error To use openmp compile and link with "-fopenmp"
+//#error To use openmp compile and link with "-fopenmp"
+#undef PUSE_OPENMP
+#define PUSE_OPENMP (0)
#endif
#endif