• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: crossplatform C++, #ifdef
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: crossplatform C++, #ifdef


  • Subject: Re: crossplatform C++, #ifdef
  • From: Phillip Mills <email@hidden>
  • Date: Sat, 13 Nov 2004 12:56:04 -0500

On Nov 13, 2004, at 12:37 PM, Jean-Francois Roy wrote:

I think the one that's typically used is __MACOSX__

Where's that defined?

If I create junk.cpp with the following:

#ifdef __MACOSX__
#error "Got __MACOSX__"
#else
#error "No __MACOSX__"
#endif

'c++ junk.cpp' tells me it's not defined for 3.3.

........................
Phillip Mills
Multi-platform software development
(416) 224-0714

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: crossplatform C++, #ifdef
      • From: Finlay Dobbie <email@hidden>
References: 
 >Re: crossplatform C++, #ifdef (From: Eric Forget <email@hidden>)
 >Re: crossplatform C++, #ifdef (From: Jean-Francois Roy <email@hidden>)

  • Prev by Date: Getting the Window menu item for a window
  • Next by Date: Re: crossplatform C++, #ifdef
  • Previous by thread: Re: crossplatform C++, #ifdef
  • Next by thread: Re: crossplatform C++, #ifdef
  • Index(es):
    • Date
    • Thread