• 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: Where to deploy byteswap.h?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where to deploy byteswap.h?


  • Subject: Re: Where to deploy byteswap.h?
  • From: Uli Kusterer <email@hidden>
  • Date: Tue, 28 Apr 2009 16:08:21 +0200

On 24 Apr 2009, at 02:25, K. Chen wrote:
/usr/include/machine
/usr/include/i386
/usr/include/ppc

But Xcode compiling still failed with the same reason. Any ideas??


Don't do that! Don't mess with system directories, that might screw up other builds on your machine.

Besides the workarounds others have suggested, something else you can do is put your own version of byteswap.h in a Mac-implementation into a folder in your project's directory, and then set your project's system header path build setting to point at that folder. That way, you can #include <byteswap.h> just like on other platforms, but it'll only be used for that one project.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."

_______________________________________________
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


References: 
 >Where to deploy byteswap.h? (From: "K. Chen" <email@hidden>)

  • Prev by Date: Re: Not all locals show up in Xcode debugger
  • Next by Date: provisioning profile
  • Previous by thread: Re: Where to deploy byteswap.h?
  • Next by thread: signal 11 (SIGSEGV) error
  • Index(es):
    • Date
    • Thread