From 56c663dcf1f417a6df6db332a19e22971cb849eb Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 17 Feb 2003 03:40:22 +0000 Subject: ifdefed so it only compiles on Linuxdue to linux-specific header files svn path=/trunk/externals/ext13/; revision=399 --- cdplayer.c | 4 ++++ ossmixer.c | 6 ++++++ promiscous~.c | 7 ++++++- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/cdplayer.c b/cdplayer.c index a6999dc..4622abf 100644 --- a/cdplayer.c +++ b/cdplayer.c @@ -1,3 +1,5 @@ +#ifdef LINUX + #include "ext13.h" #include "m_pd.h" #include @@ -174,3 +176,5 @@ void cdplayer_setup(void) class_addmethod(cdplayer_class, (t_method) cdplayer_stop, gensym("stop"), 0); class_addmethod(cdplayer_class, (t_method) cdplayer_eject, gensym("eject"), 0); } + +#endif diff --git a/ossmixer.c b/ossmixer.c index 3770543..d6d639e 100644 --- a/ossmixer.c +++ b/ossmixer.c @@ -1,3 +1,6 @@ + +#ifdef LINUX + #include "ext13.h" #include "m_pd.h" #include @@ -325,3 +328,6 @@ void ossmixer_setup(void) class_addmethod(ossmixer_class, (t_method) ossmixer_set_source, gensym("set_source"), A_DEFSYM, 0); class_addmethod(ossmixer_class, (t_method) ossmixer_set_device, gensym("set_device"), A_DEFFLOAT, 0); } + + +#endif diff --git a/promiscous~.c b/promiscous~.c index 49cc4e5..0c6a9ec 100644 --- a/promiscous~.c +++ b/promiscous~.c @@ -1,3 +1,7 @@ +#ifdef LINUX +// find a replacement for +// then this will work on other UNIXes + #include "m_pd.h" #include "ext13.h" #include @@ -16,7 +20,6 @@ #include - /* ------------------------ promiscous_tilde~ ----------------------------- */ @@ -157,3 +160,5 @@ void promiscous_tilde_setup(void) sizeof(t_promiscous_tilde), CLASS_NOINLET, A_DEFSYM, 0); class_addmethod(promiscous_tilde_class, (t_method) promiscous_tilde_dsp, gensym("dsp"), 0); } + +#endif -- cgit v1.2.1