diff options
author | François Revol <revol@free.fr> | 2020-08-21 17:34:57 +0200 |
---|---|---|
committer | François Revol <revol@free.fr> | 2020-08-21 17:34:57 +0200 |
commit | 49ce5e295b9d95e6bc4084f91706309d1f1f0bb7 (patch) | |
tree | c0205c7e0cc225f6e471632a2e61627bb4639d59 /deps | |
parent | c71321a099373753c22055921c8f538afed5ebb6 (diff) | |
download | libgit2-49ce5e295b9d95e6bc4084f91706309d1f1f0bb7.tar.gz |
deps: ntlmclient: fix htonll for Haiku
Use B_HOST_TO_BENDIAN_INT64 for that.
Diffstat (limited to 'deps')
-rw-r--r-- | deps/ntlmclient/compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/ntlmclient/compat.h b/deps/ntlmclient/compat.h index f4d859aec..8093e9e94 100644 --- a/deps/ntlmclient/compat.h +++ b/deps/ntlmclient/compat.h @@ -46,6 +46,9 @@ # define htonll(x) ((((uint64_t)htonl(x)) << 32) + htonl((uint64_t)(x) >> 32)) # endif # endif +#elif defined(__HAIKU__) +# include <ByteOrder.h> +# define htonll B_HOST_TO_BENDIAN_INT64 #endif #ifndef MIN |