FS-8782: [mod_verto] fix build error for missing __bswap_64 on Solaris
This commit is contained in:
parent
8daa71eb14
commit
2caa6efdac
|
@ -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…
Reference in New Issue