]> Git Repo - VerusCoin.git/blob - equihash.cpp.patch
test
[VerusCoin.git] / equihash.cpp.patch
1 *** src/crypto/equihash.cpp     2017-01-03 10:53:52.444371361 +0000
2 --- ../../komodo-jl777/src/crypto/equihash.cpp  2017-01-03 09:48:21.690037241 +0000
3 ***************
4 *** 21,50 ****
5   
6   #include <boost/optional.hpp>
7   
8 - #ifdef __APPLE__
9 - #include <machine/endian.h>
10 - #include <libkern/OSByteOrder.h>
11
12 - #define htobe16(x) OSSwapHostToBigInt16(x)
13 - #define htole16(x) OSSwapHostToLittleInt16(x)
14 - #define be16toh(x) OSSwapBigToHostInt16(x)
15 - #define le16toh(x) OSSwapLittleToHostInt16(x)
16
17 - #define htobe32(x) OSSwapHostToBigInt32(x)
18 - #define htole32(x) OSSwapHostToLittleInt32(x)
19 - #define be32toh(x) OSSwapBigToHostInt32(x)
20 - #define le32toh(x) OSSwapLittleToHostInt32(x)
21
22 - #define htobe64(x) OSSwapHostToBigInt64(x)
23 - #define htole64(x) OSSwapHostToLittleInt64(x)
24 - #define be64toh(x) OSSwapBigToHostInt64(x)
25 - #define le64toh(x) OSSwapLittleToHostInt64(x)
26
27 - #define __BIG_ENDIAN    BIG_ENDIAN
28 - #define __LITTLE_ENDIAN LITTLE_ENDIAN
29 - #define __BYTE_ORDER    BYTE_ORDER
30 - #endif
31
32   EhSolverCancelledException solver_cancelled;
33   
34   template<unsigned int N, unsigned int K>
35 --- 21,26 ----
This page took 0.024969 seconds and 4 git commands to generate.