Ticket #11136: patch-mythtv-libs-libmythtv-NuppelVideoRecorder.cpp.diff
File patch-mythtv-libs-libmythtv-NuppelVideoRecorder.cpp.diff, 626 bytes (added by , 12 years ago) |
---|
-
mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
33 33 #include "vbitext/cc.h" 34 34 #include "vbitext/vbi.h" 35 35 36 #if HAVE_BIGENDIAN 37 extern "C" { 38 #include "byteswap.h" 39 } 36 #if HAVE_BYTESWAP_H 37 #include <byteswap.h> 38 #elif HAVE_SYS_ENDIAN_H 39 #include <sys/endian.h> 40 #elif CONFIG_DARWIN 41 #include <libkern/OSByteOrder.h> 42 #define bswap_16 OSSwapInt16 43 #define bswap_32 OSSwapInt32 44 #define bswap_64 OSSwapInt64 45 #elif HAVE_BIGENDIAN 46 #error No bswap functions defined 40 47 #endif 41 48 42 49 extern "C" {