It seems OSX has no endian.h, but it also looks like it is not needed.
Possible solution to make sha256.cpp compile on OSX:
Replace
|
// big endian architectures need #define __BYTE_ORDER __BIG_ENDIAN |
|
#ifndef _MSC_VER |
|
#include <endian.h> |
|
#endif |
with
#if !defined(_MSC_VER) && !defined(__APPLE__)
#include <endian.h>
#endif
It seems OSX has no
endian.h, but it also looks like it is not needed.Possible solution to make
sha256.cppcompile on OSX:Replace
hash-library/sha256.cpp
Lines 9 to 12 in a8a88f8
with