Merge pull request #182 from bitshares/for-core-4.0.x

bring macos build fix to master
This commit is contained in:
Peter Conrad 2019-11-27 08:05:49 +01:00 committed by GitHub
commit 1d8b63bdb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,9 @@ namespace fc {
namespace ip { class address; }
template<typename... T> struct get_typename;
#if defined(__APPLE__) or defined(__OpenBSD__)
template<> struct get_typename<size_t> { static const char* name() { return "size_t"; } };
#endif
template<> struct get_typename<int32_t> { static const char* name() { return "int32_t"; } };
template<> struct get_typename<int64_t> { static const char* name() { return "int64_t"; } };
template<> struct get_typename<int16_t> { static const char* name() { return "int16_t"; } };