summaryrefslogtreecommitdiff
path: root/silx/utils/include/silx_store_openmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'silx/utils/include/silx_store_openmp.h')
-rw-r--r--silx/utils/include/silx_store_openmp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/silx/utils/include/silx_store_openmp.h b/silx/utils/include/silx_store_openmp.h
new file mode 100644
index 0000000..f04f630
--- /dev/null
+++ b/silx/utils/include/silx_store_openmp.h
@@ -0,0 +1,10 @@
+
+
+
+/** Flag the C module with a variable to know if it was compiled with OpenMP
+ */
+#ifdef _OPENMP
+static const int COMPILED_WITH_OPENMP = 1;
+#else
+static const int COMPILED_WITH_OPENMP = 0;
+#endif