diff src/window.c @ 154:826eb46b2f91

fixed Linux bugs
author Jamie Bullock <jamie@jamiebullock.com>
date Thu, 10 Jan 2013 22:41:03 +0000
parents 9283aaf1ffb8
children
line wrap: on
line diff
--- a/src/window.c	Thu Jan 10 21:43:57 2013 +0000
+++ b/src/window.c	Thu Jan 10 22:41:03 2013 +0000
@@ -25,6 +25,10 @@
 
 #include <math.h>
 
+#ifndef M_PI
+#define M_PI 3.14159265358979323846264338327
+#endif
+
 #include "xtract_window_private.h"
 
 void gauss(double *window, const int N, const double sd)