hi Yves,
Yves Degoyon wrote: ...
i doubt that you can make a version compatible with 0.36 and 0.37
why not -- in your project's tree include a file, say "pd_imp.h", with
#ifdef PD_MINOR_VERSION #include "m_imp.h" #else <stripped down copy of m_imp.h taken from 0.36 -- it is frozen, after all...> #endif
then in your extern's source file put
#include "m_pd.h" #include "pd_imp.h" ...
Krzysztof
...
because in 0.36, the includes were :
#include "m_imp.h" #include "g_canvas.h"
and, in 0.37, it's :
#include <m_pd.h> #include "m_imp.h" #include "g_canvas.h"
oh and yeh, the PD_MINOR_VERSION is defined in m_pd.h of course ( haha ).