[Python-checkins] python/dist/src/Python bltinmodule.c,2.276,2.277
Jack Jansen
Jack.Jansen@cwi.nl
Mon, 10 Feb 2003 15:32:12 +0100
On Monday, Feb 10, 2003, at 14:02 Europe/Amsterdam, Guido van Rossum
wrote:
>> I don't like looking at __APPLE__ either (it looks too broad), but I
>> haven't found
>> anything else. So I'd say leave it as is.
>
> Really? Is there nothing to distinguish OS 9 from OS X? I don't
> believe that.
There is, if you import MacOS-specific headers (Universal Headers on
MacOS9, or Carbon/Carbon.h on OSX).
Then you have defines like TARGET_API_MAC_OSX and TARGET_API_MAC_OS8
and many many more.
But by default you only get what gcc predefines, and that's preciously
little.
--
Jack Jansen, <Jack.Jansen@cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma
Goldman