From: jaspervdg Date: Wed, 26 Nov 2008 08:14:35 +0000 (+0000) Subject: Defined HAVE_OPENMP in build.xml and included config.h from nr-filter-gaussian.cpp... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=de35f715781ab9d73d78cb911248aeeb8b4e56eb;p=inkscape.git Defined HAVE_OPENMP in build.xml and included config.h from nr-filter-gaussian.cpp to actually make the define work (on Windows). --- 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