ports/net/asterisk14/files/patch-channels::chan_skinny.c
Maxim Sobolev cf24da0ea7 Update to 1.4.9.
Sponsored by: Sippy Software, Inc. ( http://www.sippysoft.com/ )

Enable SQLite support.

PR:		114720
Submitted by:	VipeR
2007-07-27 02:41:10 +00:00

14 lines
432 B
C

$FreeBSD$
--- channels/chan_skinny.c.orig
+++ channels/chan_skinny.c
@@ -107,7 +107,7 @@
#define htolel(x) (x)
#define htoles(x) (x)
#else
-#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) || defined(__OpenBSD__)
+#if defined(SOLARIS) || defined(__Darwin__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
#define __bswap_16(x) \
((((x) & 0xff00) >> 8) | \
(((x) & 0x00ff) << 8))