From c8cd8b95a87fc4a7169a588a3dc695a1676663fb Mon Sep 17 00:00:00 2001 From: dwarning Date: Sat, 3 Aug 2013 17:35:01 +0200 Subject: [PATCH] specific MS adaption --- src/maths/fft/fftext.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/maths/fft/fftext.c b/src/maths/fft/fftext.c index d8f1ba13f..2a9cb64a0 100644 --- a/src/maths/fft/fftext.c +++ b/src/maths/fft/fftext.c @@ -17,6 +17,10 @@ #include "ngspice/fftext.h" #include "ngspice/memory.h" +#ifndef M_PI +#define M_PI 3.141592653589793238462643383279502884197 // pi +#endif + #define eq(a,b) (!strcmp((a), (b))) // pointers to storage of Utbl's and BRLow's