From de35f715781ab9d73d78cb911248aeeb8b4e56eb Mon Sep 17 00:00:00 2001 From: jaspervdg Date: Wed, 26 Nov 2008 08:14:35 +0000 Subject: [PATCH] Defined HAVE_OPENMP in build.xml and included config.h from nr-filter-gaussian.cpp to actually make the define work (on Windows). --- build.xml | 1 + src/display/nr-filter-gaussian.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/build.xml b/build.xml index f65b6e20f..3e65dd96b 100644 --- a/build.xml +++ b/build.xml @@ -137,6 +137,7 @@ #define HAVE_STDLIB_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_INTTYPES_H 1 + #define HAVE_OPENMP 1 #define ENABLE_LCMS 1 diff --git a/src/display/nr-filter-gaussian.cpp b/src/display/nr-filter-gaussian.cpp index d92a7f7f3..f023bbc57 100644 --- a/src/display/nr-filter-gaussian.cpp +++ b/src/display/nr-filter-gaussian.cpp @@ -13,6 +13,8 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include "config.h" // Needed for HAVE_OPENMP + #include #include #include -- 2.30.2