[PD-dev] [ pure-data-Patches-1217414 ] change defines MACOSX to __APPLE__
SourceForge.net
noreply at sourceforge.net
Fri Sep 30 15:00:03 CEST 2005
Patches item #1217414, was opened at 2005-06-09 08:27
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1217414&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-dev
Group: None
Status: Open
Resolution: None
Priority: 2
Submitted By: Hans-Christoph Steiner (eighthave)
>Assigned to: Miller Puckette (millerpuckette)
Summary: change defines MACOSX to __APPLE__
Initial Comment:
gcc defines __APPLE__ automatically on Mac OS X so
there is no need for the -DMACOSX, #ifdef MACOSX, etc
This patch just changes every relevant instance of
MACOSX to __APPLE__ and removes -DMACOSX in configure.in.
This does not change the functionality at all, but
cleans up the code, using standard constructs, and
makes things consistent with __linux__ and __FreeBSD__.
----------------------------------------------------------------------
>Comment By: IOhannes m zmölnig (zmoelnig)
Date: 2005-09-30 15:00
Message:
Logged In: YES
user_id=564396
assigned to miller.
its oh so bad, that w32 doesn't really have such an
automatic define.
(mingw does define __WIN32__; probably it would be good to
add that one to the NT/MSW magic in m_pd.h)
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2005-06-09 20:10
Message:
Logged In: YES
user_id=27104
For Apple documentation on this topic, check out the
"Predefined Macros" section of this webpage:
http://developer.apple.com/technotes/tn2002/tn2071.html
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1217414&group_id=55736
More information about the Pd-dev
mailing list