[MacPorts] #8215: libdvdread needs byte swapping routines defined
MacPorts
noreply at macports.org
Thu Mar 24 09:27:46 PDT 2016
#8215: libdvdread needs byte swapping routines defined
------------------------------+--------------------------------
Reporter: m-darwinports@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.2
Resolution: fixed | Keywords:
Port: libdvdread |
------------------------------+--------------------------------
Changes (by ryandesign@…):
* port: => libdvdread
Old description:
> Add this to the big #if/elif/else statement in bswap.h to properly
> compile:
>
> #elif defined(__APPLE__)
> #include <libkern/OSByteOrder.h>
> #define B2N_16(x) x = OSSwapBigToHostConstInt16(x)
> #define B2N_32(x) x = OSSwapBigToHostConstInt32(x)
> #define B2N_64(x) x = OSSwapBigToHostConstInt64(x)
New description:
Add this to the big #if/elif/else statement in bswap.h to properly
compile:
{{{
#elif defined(__APPLE__)
#include <libkern/OSByteOrder.h>
#define B2N_16(x) x = OSSwapBigToHostConstInt16(x)
#define B2N_32(x) x = OSSwapBigToHostConstInt32(x)
#define B2N_64(x) x = OSSwapBigToHostConstInt64(x)
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/8215#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list