Commit f0bcc87c authored by Mike Gorchak's avatar Mike Gorchak Committed by Jean-Baptiste Kempf

Make libdvdread compile under QNX

Signed-off-by: default avatarErik Hovland <>
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent 7431b747
......@@ -67,6 +67,12 @@
#define B2N_32(x) x = be32toh(x)
#define B2N_64(x) x = be64toh(x)
#elif defined(__QNXNTO__)
#include <gulliver.h>
#define B2N_16(x) x = ENDIAN_RET16(x)
#define B2N_32(x) x = ENDIAN_RET32(x)
#define B2N_64(x) x = ENDIAN_RET64(x)
/* This is a slow but portable implementation, it has multiple evaluation
* problems so beware.
* Old FreeBSD's and Solaris don't have <byteswap.h> or any other such
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment