From 2caa6efdacce9493a6a145aa6475d4b857fd4e9d Mon Sep 17 00:00:00 2001 From: Spencer Thomason Date: Wed, 27 Jan 2016 19:44:59 -0800 Subject: [PATCH] FS-8782: [mod_verto] fix build error for missing __bswap_64 on Solaris --- src/mod/endpoints/mod_verto/ws.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) | \