mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-29 10:01:41 +00:00
Merge pull request #689 in FS/freeswitch from ~SJTHOMASON/freeswitch:bugfix/FS-8782-mod_verto-fails-to-build-on-solaris to master
* commit '2caa6efdacce9493a6a145aa6475d4b857fd4e9d': FS-8782: [mod_verto] fix build error for missing __bswap_64 on Solaris
This commit is contained in:
commit
4245f5de89
@ -25,7 +25,7 @@
|
|||||||
//#include "sha1.h"
|
//#include "sha1.h"
|
||||||
#include <openssl/ssl.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) \
|
#define __bswap_64(x) \
|
||||||
x = (x>>56) | \
|
x = (x>>56) | \
|
||||||
((x<<40) & 0x00FF000000000000) | \
|
((x<<40) & 0x00FF000000000000) | \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user