Commit 49ce5e29 by François Revol

deps: ntlmclient: fix htonll for Haiku

Use B_HOST_TO_BENDIAN_INT64 for that.
parent c71321a0
...@@ -46,6 +46,9 @@ ...@@ -46,6 +46,9 @@
# define htonll(x) ((((uint64_t)htonl(x)) << 32) + htonl((uint64_t)(x) >> 32)) # define htonll(x) ((((uint64_t)htonl(x)) << 32) + htonl((uint64_t)(x) >> 32))
# endif # endif
# endif # endif
#elif defined(__HAIKU__)
# include <ByteOrder.h>
# define htonll B_HOST_TO_BENDIAN_INT64
#endif #endif
#ifndef MIN #ifndef MIN
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment