[PD] creating external on windows (again)

Martin Peach martin.peach at sympatico.ca
Wed Dec 19 07:02:36 CET 2007


Hans-Christoph Steiner wrote:
> On Dec 17, 2007, at 6:10 AM, Martin Peach wrote:
>
>   
>> Start by defining MSW in the preprocessor defines part of the project.
>>     
>
> Every Windows compiler will automatically define _WIN32 so that's the  
> preferred macro to use.  MSW is a Pd-specific thing.
>
>   
The version of m_pd.h in cvs still has #ifdef MSW all over it, and no 
mention of _WIN32, so it wouldn't work unless someone puts

#ifdef _WIN32
#define MSW
#endif

at the top of m_pd.h
...or change MSW to _WIN32 throughout the pd source and externals.

Martin




More information about the Pd-list mailing list