Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Portable way to include endian.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Portable way to include endian.h



On Mon, Nov 17, 2008 at 04:27:39PM -0600, Peter O'Gorman wrote:
> I would #define _GNU_SOURCE, which should allow strdup, and BYTE_ORDER
> on Linux. See man feature_test_macros(7) on your Linux machine.

I actually wasn't sure which one of those to use. I picked _BSD_SOURCE
more or less arbitrarily.

Thanks.

--
Steve Checkoway


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

This email sent to email@hidden

References: 
 >Portable way to include endian.h (From: Steve Checkoway <email@hidden>)
 >Re: Portable way to include endian.h (From: Peter O'Gorman <email@hidden>)
 >Re: Portable way to include endian.h (From: Steve Checkoway <email@hidden>)
 >Re: Portable way to include endian.h (From: Peter O'Gorman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.