summaryrefslogtreecommitdiffstats
path: root/tboot/vmac.c
diff options
context:
space:
mode:
authorroot <root@lamia.panaceas.james.local>2017-03-15 13:50:51 +0000
committerroot <root@lamia.panaceas.james.local>2017-03-15 13:50:51 +0000
commit2dd7ea9b7a34fd02c10b67bccebfb3c04b7ab3bf (patch)
treef145c6f6ad2dd52e271f1b84a4cfb8b8f0c6ce07 /tboot/vmac.c
parentf327ade1d0333deee519b2c2977f8edae5b9fa3d (diff)
downloadtboot-2dd7ea9b7a34fd02c10b67bccebfb3c04b7ab3bf.tar.gz
tboot-2dd7ea9b7a34fd02c10b67bccebfb3c04b7ab3bf.tar.bz2
tboot-2dd7ea9b7a34fd02c10b67bccebfb3c04b7ab3bf.zip
patch up C99isms and a missing defineHEADmaster
Diffstat (limited to 'tboot/vmac.c')
-rw-r--r--tboot/vmac.c5
1 files changed, 3 insertions, 2 deletions
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 <efibase.h>
#include <types.h>
#include <vmac.h>
-/*#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