[Python-checkins] python/dist/src/Python bltinmodule.c,2.276,2.277
Just van Rossum
just@letterror.com
Mon, 10 Feb 2003 15:36:44 +0100
Jack Jansen wrote:
> > 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.
The question remains: is __APPLE__ defined when compiling for OS9 or
not? If not, we're fine, but I'd like to _know_...
Just