]> code.delx.au - refind/blobdiff - EfiLib/gnuefi-helper.h
Changes to enable rEFInd to build with GCC 5.1. Also some more
[refind] / EfiLib / gnuefi-helper.h
index 1a1749785890f8c7a361f9a617d0b45c6e93038f..2a2fe0761abe07c71df177d6da9d5e68f6a90bc2 100644 (file)
@@ -23,7 +23,9 @@
 #define UnicodeSPrint SPrint
 #define gRT RT
 #define gBS BS
+#ifndef CONST
 #define CONST
+#endif
 #define ASSERT_EFI_ERROR(status)  ASSERT(!EFI_ERROR(status))
 
 CHAR8 *
@@ -50,4 +52,4 @@ GetNextDevicePathInstance (
    OUT UINTN                          *Size
 );
 
-#endif
\ No newline at end of file
+#endif