From 496db966a1638e24ca0cf5bf168c461fe1790178 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Sat, 14 Mar 2015 19:57:19 +0000 Subject: [PATCH] Hack: set HAVE_CSTDDEF to make IPOpt happy This is needed with the cmake build system. I do not want to debug this today. [[Imported from SVN: r10075]] --- src/harmonicmaps.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/harmonicmaps.cc b/src/harmonicmaps.cc index 4aa4b97d..fa4b1f8a 100644 --- a/src/harmonicmaps.cc +++ b/src/harmonicmaps.cc @@ -2,6 +2,9 @@ #include <fenv.h> +// TODO: With cmake I need this hack to make IPOpt happy +#define HAVE_CSTDDEF + // Includes for the ADOL-C automatic differentiation library // Need to come before (almost) all others. #include <adolc/adouble.h> -- GitLab