From 6e0e64e2ffa9ab5b6491d3d6714d6e8a0149ebba Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 12 Jul 2014 06:59:52 +0000 Subject: [PATCH] merged change from RC_1_0 --- ed25519/src/sha512.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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),