Description: 移除 filesystems 驱动中与 gnu-efi 冲突的 CompareGuid 宏
 gnu-efi 4.0 的 legacy.h 已将 CompareGuid 重映射到新 ABI 的 CompareGuid_1
 （返回 BOOLEAN，相等时为真），而 filesystems/fsw_efi.h 又将其重定义为
 CompareGuid(a,b)==0，二者冲突导致 fsw_efi.c 展开宏后出现
 "implicit declaration of function 'CompareGuid'" 编译错误。删除该冗余宏，
 直接使用 gnu-efi 提供的 CompareGuid_1 语义。
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Forwarded: not-needed
Last-Update: 2026-09-15

--- refind-0.14.2.orig/filesystems/fsw_efi.h
+++ refind-0.14.2/filesystems/fsw_efi.h
@@ -41,10 +41,6 @@
 #include "fsw_core.h"
 #include "../include/refit_call_wrapper.h"
 
-#ifdef __MAKEWITH_GNUEFI
-#define CompareGuid(a, b) CompareGuid(a, b)==0
-#endif
-
 #define REFIND_EFI_DISK_IO_PROTOCOL_GUID \
   { \
     0xce345171, 0xba0b, 0x11d2, {0x8e, 0x4f, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \
