From: Spencer Thomason Date: Thu, 28 Jan 2016 03:44:59 +0000 (-0800) Subject: FS-8782: [mod_verto] fix build error for missing __bswap_64 on Solaris X-Git-Tag: v1.6.7~2^2~119^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2caa6efdacce9493a6a145aa6475d4b857fd4e9d;p=thirdparty%2Ffreeswitch.git FS-8782: [mod_verto] fix build error for missing __bswap_64 on Solaris --- diff --git a/src/mod/endpoints/mod_verto/ws.h b/src/mod/endpoints/mod_verto/ws.h index 1d020d0b33..983feded35 100644 --- a/src/mod/endpoints/mod_verto/ws.h +++ b/src/mod/endpoints/mod_verto/ws.h @@ -25,7 +25,7 @@ //#include "sha1.h" #include -#if defined(_MSC_VER) || defined(__APPLE__) +#if defined(_MSC_VER) || defined(__APPLE__) || (defined(__SVR4) && defined(__sun)) #define __bswap_64(x) \ x = (x>>56) | \ ((x<<40) & 0x00FF000000000000) | \