]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8782: [mod_verto] fix build error for missing __bswap_64 on Solaris
authorSpencer Thomason <spencer@whiteskycommunications.com>
Thu, 28 Jan 2016 03:44:59 +0000 (19:44 -0800)
committerSpencer Thomason <spencer@whiteskycommunications.com>
Thu, 28 Jan 2016 03:44:59 +0000 (19:44 -0800)
src/mod/endpoints/mod_verto/ws.h

index 1d020d0b3323ac2699b295acd8e71ac26fe55487..983feded35dfebadb7215d6d8d4285a09fd7d5c3 100644 (file)
@@ -25,7 +25,7 @@
 //#include "sha1.h"
 #include <openssl/ssl.h>
 
-#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) | \