summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-02-03 16:55:32 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-03-20 15:50:22 +0100
commitb51e404d3be18b9b1e39e6e3548eed9ddb586ea7 (patch)
tree4db83cb67032305a897db2ca688f244ca93289d5
parent9f3f78472f7be84694baef8e67fec382febce639 (diff)
downloadastra-b51e404d3be18b9b1e39e6e3548eed9ddb586ea7.tar.gz
astra-b51e404d3be18b9b1e39e6e3548eed9ddb586ea7.tar.bz2
astra-b51e404d3be18b9b1e39e6e3548eed9ddb586ea7.tar.xz
astra-b51e404d3be18b9b1e39e6e3548eed9ddb586ea7.zip
Use standard _OPENMP directive for checking openmp
-rw-r--r--matlab/mex/mexCopyDataHelpFunctions.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/matlab/mex/mexCopyDataHelpFunctions.cpp b/matlab/mex/mexCopyDataHelpFunctions.cpp
index a172a03..74f0538 100644
--- a/matlab/mex/mexCopyDataHelpFunctions.cpp
+++ b/matlab/mex/mexCopyDataHelpFunctions.cpp
@@ -29,12 +29,10 @@ along with the ASTRA Toolbox. If not, see <http://www.gnu.org/licenses/>.
#include "mexHelpFunctions.h"
-#define HAVE_OMP
-
#define ROUND_DOWN(x, s) ((x) & ~((s)-1))
-#ifdef HAVE_OMP
-# include <omp.h>
+#ifdef _OPENMP
+#include <omp.h>
#endif
#if defined(__SSE2__)