• 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: iPhone Platform Compiler Symbol?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iPhone Platform Compiler Symbol?


  • Subject: Re: iPhone Platform Compiler Symbol?
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 14 May 2009 11:47:25 -0700


On May 14, 2009, at 11:37 AM, K. Chen wrote:

Is there a Xcode pre-defined symbol that tells the compiler the platform is iPhone OS? I know FreeBSD has a pre-defined symbol called __FreeBSD__ so my code doesn't need to create its own when porting to that platform. I wonder if Xcode has something similar. Thanks,


Look at Availability.h

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


  • Follow-Ups:
    • Re: iPhone Platform Compiler Symbol?
      • From: Michael Crawford <email@hidden>
References: 
 >iPhone Platform Compiler Symbol? (From: "K. Chen" <email@hidden>)

  • Prev by Date: Re: Converting .plist during the build process
  • Next by Date: Re: Watchpoints broken for 64-bit apps?
  • Previous by thread: iPhone Platform Compiler Symbol?
  • Next by thread: Re: iPhone Platform Compiler Symbol?
  • Index(es):
    • Date
    • Thread