Fix test_bgp_route_exchange: correct IP byte order constants and platform_compat.h endian include
This commit is contained in:
1 parent
05323ded60
commit
389124d327
2 files changed
+3
-4
No files matched your search
@@ -19,7 +19,7 @@
|
||||
#include <stdlib.h>
|
||||
#define htobe64(x) _byteswap_uint64(x)
|
||||
#define be64toh(x) _byteswap_uint64(x)
|
||||
#elif defined(__linux__)
|
||||
#else
|
||||
#include <endian.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user