mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-07 23:19:28 +00:00
Network byte order is big-endian - the way it should be :)
This commit is contained in:
parent
6b5db63c15
commit
0f5e1f3b68
@ -55,6 +55,14 @@
|
|||||||
#define GIT_WIN32 1
|
#define GIT_WIN32 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __amigaos4__
|
||||||
|
/* Network byte order is big-endian... so is PPC, so these functions are NOP */
|
||||||
|
#define htonl(x) x
|
||||||
|
#define ntohl(x) x
|
||||||
|
#define htons(x) x
|
||||||
|
#define ntohs(x) x
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file git2/common.h
|
* @file git2/common.h
|
||||||
* @brief Git common platform definitions
|
* @brief Git common platform definitions
|
||||||
|
Loading…
Reference in New Issue
Block a user