<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 17, 2017 at 2:56 AM, Derek Kwan <span dir="ltr"><<a href="mailto:derek.x.kwan@gmail.com" target="_blank">derek.x.kwan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hmm, I thought that PDL2ORK was defined in m_pd.h but at least in my<br>
local copy it's not there, weird I didn't have building issues.<br></blockquote><div><br></div><div>Sure is, in the Purr Data version of m_pd.h it's at line 18. Maybe your build picks up another m_pd.h that's installed on your system.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I suppose<br>
<br>
#ifndef PDL2ORK<br>
#define PDL2ORK 0<br>
#endif<br>
<br>
at the top of the file.h would remedy the situation?<br></blockquote><div><br></div><div>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).<br></div></div><br></div><div class="gmail_extra">Albert<br><br></div><div class="gmail_extra">-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dr. Albert Gr"af<br>Computer Music Research Group, JGU Mainz, Germany<br>Email: <a href="mailto:aggraef@gmail.com" target="_blank">aggraef@gmail.com</a><br>WWW: <a href="https://plus.google.com/+AlbertGraef" target="_blank">https://plus.google.com/+AlbertGraef</a></div></div>
</div></div>