From 2dd7ea9b7a34fd02c10b67bccebfb3c04b7ab3bf Mon Sep 17 00:00:00 2001 From: root Date: Wed, 15 Mar 2017 13:50:51 +0000 Subject: patch up C99isms and a missing define --- tboot/vmac.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tboot/vmac.c') diff --git a/tboot/vmac.c b/tboot/vmac.c index be234ed..f44dce7 100644 --- a/tboot/vmac.c +++ b/tboot/vmac.c @@ -17,8 +17,9 @@ #include #include #include -/*#define UINT64_C(x) x##ULL*/ -/* end for tboot */ +#ifndef UINT64_C +#define UINT64_C(x) x##ULL +#endif /* Enable code tuned for 64-bit registers; otherwise tuned for 32-bit */ #ifndef VMAC_ARCH_64 -- cgit v1.2.3