mirror of
https://git.freebsd.org/ports.git
synced 2025-06-29 16:40:31 -04:00
14 lines
390 B
C
14 lines
390 B
C
|
|
$FreeBSD$
|
|
|
|
--- channels/chan_skinny.c.orig
|
|
+++ channels/chan_skinny.c
|
|
@@ -99,7 +99,7 @@
|
|
#define htolel(x) (x)
|
|
#define htoles(x) (x)
|
|
#else
|
|
-#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__)
|
|
+#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) || defined(__FreeBSD__)
|
|
#define __bswap_16(x) \
|
|
((((x) & 0xff00) >> 8) | \
|
|
(((x) & 0x00ff) << 8))
|