Uses built-in byte swap if available (Apple) and if bswap_XX is undefined.

Defers to pre-defined version if found (e.g. protobuf). For protobuf case, the definitions are identical and thus include order should not affect results.
This commit is contained in:
Karl-Johan Alm
2016-12-16 16:52:35 +09:00
committed by Kalle Alm
parent c9e00591cd
commit 815f4148b2
7 changed files with 95 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ BITCOIN_TESTS =\
test/bip32_tests.cpp \
test/blockencodings_tests.cpp \
test/bloom_tests.cpp \
test/bswap_tests.cpp \
test/coins_tests.cpp \
test/compress_tests.cpp \
test/crypto_tests.cpp \