From 6fba2e74c6b5c6f631a5c70da58fb5af25a7d389 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Wed, 5 Apr 2017 15:49:37 +0200 Subject: Define CMLPX if not defined --- attract.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/attract.c b/attract.c index f4cb7b0..bd7717d 100644 --- a/attract.c +++ b/attract.c @@ -8,6 +8,10 @@ #include #include "lodepng.h" +#ifndef CMPLX +#define CMPLX(r,i) ((r) + (i)*I) +#endif + const int MAXITER=200; const double EPS=1e-1; -- cgit v1.2.3-70-g09d2