From 573cee4854a8df3da52b519801c6c7446c89e34b Mon Sep 17 00:00:00 2001 From: John Glover Date: Wed, 19 Sep 2012 09:39:23 +0100 Subject: [sndobj] Bug fix: make sure that TWOPI is not already defined elsewhere. --- src/sndobj/Table.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sndobj/Table.h b/src/sndobj/Table.h index f89029b..fd815dc 100644 --- a/src/sndobj/Table.h +++ b/src/sndobj/Table.h @@ -29,7 +29,11 @@ #ifndef _TABLE_H #define _TABLE_H #include + +#ifndef TWOPI const double TWOPI = 8.*atan(1.); +#endif + class Table { protected: -- cgit v1.2.3