diff --git a/ed25519/src/sha512.cpp b/ed25519/src/sha512.cpp index cb8ae7175..3d659030d 100644 --- a/ed25519/src/sha512.cpp +++ b/ed25519/src/sha512.cpp @@ -12,6 +12,10 @@ #include "fixedint.h" #include "sha512.h" +#ifndef UINT64_C +#define UINT64_C(x) x ## LL +#endif + /* the K array */ static const uint64_t K[80] = { UINT64_C(0x428a2f98d728ae22), UINT64_C(0x7137449123ef65cd),