Patches item #2848888, was opened at 2009-09-02 01:29
Message generated for change (Tracker Item Submitted) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2848888&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Miller Puckette (millerpuckette)
Summary: Windows/Cygwin build fixes

Initial Comment:
In order to build on Cygwin and MinGW cleanly and with a simple build system, 
the macro 'MSW' should be replaced with the automatic macro '_WIN32' (the 
preceeding underscore is important).  It should be replaced in all .c and .h 
files, and can be done using a simple replace, like "sed -i 's|MSW|_WIN32|' 
*.[ch]".  Then the patch attached fixes a couple of minor Cygwin-specific macro 
tests.  Also, once MSW is replaced with _WIN32, then this chunk of code can 
also be removed from m_pd.h:


/* old name for "MSW" flag -- we have to take it for the sake of many old
"nmakefiles" for externs, which will define NT and not MSW */
#if defined(NT) && !defined(MSW)
#define MSW
#endif


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=2848888&group_id=55736

_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to