aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/xsample/source/main.h
diff options
context:
space:
mode:
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.