]> code.delx.au - refind/blobdiff - gptsync/gptsync.c
Significant reworking of Makefile structure. Added Apple Core Storage
[refind] / gptsync / gptsync.c
index 963e61c3250e80905aa0143d986b1372934cf5a3..c711186c97fc02115f44bee4fd50a8ccafea291c 100644 (file)
@@ -38,6 +38,7 @@
 #include "gptsync.h"
 
 #include "syslinux_mbr.h"
+#define memcpy(a, b, c) CopyMem(a, b, c)
 
 //
 // MBR functions
@@ -493,7 +494,7 @@ UINTN gptsync(VOID)
     UINTN   status_gpt, status_mbr;
     BOOLEAN proceed = FALSE;
 
-    Print(L"gptsync version %s\ncopyright (c) 2006-2007 Christoph Pfisterer & 2013 Roderick W. Smith\n", VERSION);
+    Print(L"gptsync version %s\ncopyright (c) 2006-2007 Christoph Pfisterer & 2013 Roderick W. Smith\n", REFIND_VERSION);
 
     // get full information from disk
     status_gpt = read_gpt();