aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/xsample/source/main.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-10-11 10:09:47 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-10-11 10:09:47 +0000
commit887f305d37cef754d3a50104b9e312ce01e2815c (patch)
treebaac81bbcb00448cb6ff052c70ad1982fcc5db87 /externals/grill/xsample/source/main.h
parentbef75645dd01c9d9e1d375e0e3426eac809875f7 (diff)
fixes for Metrowerks
fix compilation for CFM small fixes correction of limits on buffer resize svn path=/trunk/; revision=3692
Diffstat (limited to 'externals/grill/xsample/source/main.h')
-rw-r--r--externals/grill/xsample/source/main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/externals/grill/xsample/source/main.h b/externals/grill/xsample/source/main.h
index e7ac6280..c3a1a66e 100644
--- a/externals/grill/xsample/source/main.h
+++ b/externals/grill/xsample/source/main.h
@@ -69,7 +69,9 @@ extern "C++" {
#endif
// this is for the UInt32 prototype (thanks to Jamie)
// \TODO we'd rather not use Carbon but some other framework
+ #ifdef __MACH__
#include <Carbon/Carbon.h>
+ #endif
// Initialize a prefetch constant for use with vec_dst(), vec_dstt(), vec_dstst or vec_dststt
// Taken from the "AltiVec tutorial" by Ian Ollmann, Ph.D.