aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flsndobj.h
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/source/flsndobj.h')
-rw-r--r--externals/grill/flext/source/flsndobj.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/externals/grill/flext/source/flsndobj.h b/externals/grill/flext/source/flsndobj.h
index 4f20e50c..c62b87d5 100644
--- a/externals/grill/flext/source/flsndobj.h
+++ b/externals/grill/flext/source/flsndobj.h
@@ -2,7 +2,7 @@
flext - C++ layer for Max/MSP and pd (pure data) externals
-Copyright (c) 2001-2006 Thomas Grill (gr@grrrr.org)
+Copyright (c) 2001-2007 Thomas Grill (gr@grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
@@ -13,11 +13,16 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#include "flext.h"
+// PI is defined in the Max/MSP SDK, but clashes with SndObj.h
+#ifdef PI
+#undef PI
+#endif
+
#ifndef FLEXT_THREADS
#define NOPTHREAD
#endif
-#include <SndObj/SndObj.h>
-#include <SndObj/SndIO.h>
+#include <SndObj.h>
+#include <SndIO.h>
#undef NOPTHREAD