aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/xsample/source
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-01-28 04:58:24 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-01-28 04:58:24 +0000
commit526abae44574433902c8860c46a176a503491010 (patch)
treef8a476b90f7665de2cfc6f3831f1a2b36fd3d81c /externals/grill/xsample/source
parent966b830f95253c0c3c3b4675189270954ab9e153 (diff)
fixes for Metrowerks
minor updates svn path=/trunk/; revision=2552
Diffstat (limited to 'externals/grill/xsample/source')
-rw-r--r--externals/grill/xsample/source/groove.cpp3
-rw-r--r--externals/grill/xsample/source/main.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/externals/grill/xsample/source/groove.cpp b/externals/grill/xsample/source/groove.cpp
index 408ee164..305abb8c 100644
--- a/externals/grill/xsample/source/groove.cpp
+++ b/externals/grill/xsample/source/groove.cpp
@@ -18,6 +18,9 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#pragma warning (disable:4244)
#endif
+#ifndef M_PI
+#define M_PI 3.141592653589793238462643383
+#endif
#define XZONE_TABLE 512
diff --git a/externals/grill/xsample/source/main.h b/externals/grill/xsample/source/main.h
index 97e4516d..aef9bb95 100644
--- a/externals/grill/xsample/source/main.h
+++ b/externals/grill/xsample/source/main.h
@@ -15,7 +15,7 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#error You need at least flext version 0.5.0
#endif
-#define XSAMPLE_VERSION "0.3.1pre4"
+#define XSAMPLE_VERSION "0.3.1pre5"
// most compilers are somehow broken - in other words - can't handle all C++ features