Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/multimedia/dvbcut/files/patch-src_defines.h
16462 views
1
--- src/defines.h.orig 2016-11-18 13:31:01 UTC
2
+++ src/defines.h
3
@@ -42,6 +42,11 @@ static inline int videostream(int s=0)
4
#endif
5
}
6
7
+#ifdef __FreeBSD__
8
+#define __bswap_32(x) __bswap32(x)
9
+#define __bswap_16(x) __bswap16(x)
10
+#endif
11
+
12
#if __BYTE_ORDER == __LITTLE_ENDIAN
13
#define mbo32(x) \
14
((((x) & 0xff000000) >> 24) | (((x) & 0x00ff0000) >> 8) | \
15
16