Index: /sources/src/gen_code.cc
===================================================================
--- /sources/src/gen_code.cc	(revision 60)
+++ /sources/src/gen_code.cc	(revision 61)
@@ -49,6 +49,6 @@
 #include <iostream>
 #include <fstream>
-#ifdef _OPENMP
-#include <omp.h>
+#ifdef USE_OPENMP
+    #include <omp.h>
 #endif
 
Index: /sources/src/gen_code.h
===================================================================
--- /sources/src/gen_code.h	(revision 60)
+++ /sources/src/gen_code.h	(revision 61)
@@ -21,6 +21,6 @@
 #include "process_dependency.h"
 
-#ifdef _OPENMP
-#include <omp.h>
+#ifdef USE_OPENMP
+    #include <omp.h>
 #endif
 
Index: /sources/src/sc_main.cc
===================================================================
--- /sources/src/sc_main.cc	(revision 60)
+++ /sources/src/sc_main.cc	(revision 61)
@@ -37,5 +37,7 @@
 #include <sstream>
 #include <list>
-#include <omp.h>
+#ifdef USE_OPENMP
+    #include <omp.h>
+#endif
 #include <set>
 #include <cstring> // strcmp
Index: /sources/src/sc_module.cc
===================================================================
--- /sources/src/sc_module.cc	(revision 60)
+++ /sources/src/sc_module.cc	(revision 61)
@@ -38,6 +38,6 @@
 #include <vector>
 #include <set>
-#ifdef _OPENMP
-#include <omp.h>
+#ifdef USE_OPENMP
+    #include <omp.h>
 #endif
 
Index: /sources/src/schedulers.cc
===================================================================
--- /sources/src/schedulers.cc	(revision 60)
+++ /sources/src/schedulers.cc	(revision 61)
@@ -49,6 +49,6 @@
 #include "graph_signals.h" // makegraph
 
-#ifdef _OPENMP
-#include <omp.h>
+#ifdef USE_OPENMP
+    #include <omp.h>
 #endif
 
