mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
3be7eb789b
It seems `__BYTE_ORDER`/`__LITTLE_ENDIAN`/`__BIG_ENDIAN` aren't defined on macOS, so `if __BYTE_ORDER == __BIG_ENDIAN` was true which made macOS take the big endian path *twice* (which cancelled out the big endian conversion). This makes util/endian.hpp define __LITTLE_ENDIAN__ or __BIG_ENDIAN__ everywhere, and errors if it can't be set. |
||
---|---|---|
.. | ||
logging | ||
meta | ||
metrics | ||
thread | ||
aligned.cpp | ||
aligned.hpp | ||
bencode.cpp | ||
bencode.h | ||
bencode.hpp | ||
bits.cpp | ||
bits.hpp | ||
buffer.cpp | ||
buffer.hpp | ||
codel.cpp | ||
codel.hpp | ||
common.cpp | ||
common.hpp | ||
compare_ptr.hpp | ||
copy_or_nullptr.hpp | ||
decaying_hashset.cpp | ||
decaying_hashset.hpp | ||
encode.cpp | ||
encode.hpp | ||
endian.cpp | ||
endian.hpp | ||
fs.cpp | ||
fs.hpp | ||
json.cpp | ||
json.hpp | ||
lokinet_init.c | ||
lokinet_init.h | ||
mem.cpp | ||
mem.h | ||
mem.hpp | ||
printer.cpp | ||
printer.hpp | ||
status.cpp | ||
status.hpp | ||
stopwatch.cpp | ||
stopwatch.hpp | ||
str.cpp | ||
str.hpp | ||
string_view.cpp | ||
string_view.hpp | ||
time.cpp | ||
time.hpp | ||
types.cpp | ||
types.hpp |