[PATCH libpciaccess] common_interface.c: Use proper byteswap functions on APPLE systems

2011-08-29 Thread shea
APPLE systems do not have sys/endian.h, they have architecture/byte_order.h instead. Signed-off-by: Shea Levy s...@shealevy.com --- src/common_interface.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/common_interface.c b/src/common_interface.c

Re: [PATCH libpciaccess] common_interface.c: Use proper byteswap functions on APPLE systems

2011-08-29 Thread Alan Coopersmith
On 08/29/11 00:53, s...@shealevy.com wrote: APPLE systems do not have sys/endian.h, they have architecture/byte_order.h instead. Making libpciaccess work on MacOS is going to take a lot more than just fixing byte-swapping - are you doing a full port? -- -Alan Coopersmith-

Re: [PATCH libpciaccess] common_interface.c: Use proper byteswap functions on APPLE systems

2011-08-29 Thread shea
On 08/29/11 00:53, s...@shealevy.com wrote: APPLE systems do not have sys/endian.h, they have architecture/byte_order.h instead. Making libpciaccess work on MacOS is going to take a lot more than just fixing byte-swapping - are you doing a full port? -- -Alan Coopersmith-