mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-12 20:28:27 +00:00
Basic OpenBSD compile fixes -- still need to update BSDEthernetTap, will do that later. Should be able to re-use FreeBSD port for OpenBSD, but we will see.
This commit is contained in:
@ -331,7 +331,7 @@ public:
|
||||
throw()
|
||||
{
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && (!defined(__OpenBSD__))
|
||||
return __builtin_bswap64(n);
|
||||
#else
|
||||
return (
|
||||
@ -361,7 +361,7 @@ public:
|
||||
throw()
|
||||
{
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && !defined(__OpenBSD__)
|
||||
return __builtin_bswap64(n);
|
||||
#else
|
||||
return (
|
||||
|
Reference in New Issue
Block a user