Opened 19 years ago

Last modified 9 years ago

#8215 closed defect

libdvdread needs byte swapping routines defined — at Initial Version

Reported by: m-darwinports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port: libdvdread

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)

Change History (0)

Note: See TracTickets for help on using tickets.