Skip to content

Commit 6d25dbd

Browse files
authored
Merge pull request libgit2#5426 from pks-t/pks/freebsd-htobe64
deps: ntlmclient: fix htonll on big endian FreeBSD
2 parents 8c1aef1 + c690136 commit 6d25dbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/ntlmclient/compat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#elif defined(__FreeBSD__)
3333
/* See man page bwaps64(9) */
3434
# include <sys/endian.h>
35-
# define htonll bswap64
35+
# define htonll htobe64
3636
#elif defined(sun) || defined(__sun)
3737
/* See man page byteorder(3SOCKET) */
3838
# include <sys/types.h>

0 commit comments

Comments
 (0)