[L2Ork-dev] updating cyclone
Derek Kwan
derek.x.kwan at gmail.com
Fri Mar 17 09:11:20 UTC 2017
> > I suppose
> >
> > #ifndef PDL2ORK
> > #define PDL2ORK 0
> > #endif
> >
> > at the top of the file.h would remedy the situation?
> >
>
> That would break compatibility with classic Pd-l2ork. PDL2ORK is just a
> #define'd symbol which doesn't have a value, so you check for it with
> #ifdef, #ifndef, or #if defined(PDL2ORK).
>
> Albert
Hello,
Ah, sorry, I was looking at my pd-vanilla m_pd.h, which doesn't have it
because it's not pdl2ork, hah.
Anyways, I think I'm missing something fundamental here so I'd like to
step through it.
I thought the point of the ifdefs were to exclude the bits of code at
least from the purr-data build since it's nw.js and not tcl so all that
code wouldn't work anyways since it's written for tcl pd. but we also
want to exclude it from tcl builds of pd-l2ork since presumably tcl
pd-l2ork has its own ways of handling these things? (text editor window
and also file browser if I'm remembering correctly). so we only want to
build including the ifdeffed code for use with pd-vanilla.
Derek
--
Derek Kwan
www.derekxkwan.com
More information about the L2Ork-dev
mailing list