From d859ac50928f2f3be54b3308a56c9284ff5c7bc5 Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Wed, 12 May 2021 17:37:12 +0900 Subject: [PATCH] Visibility is not available on PE32+, turn it off for EFI in general --- src/kuroko/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kuroko/util.h b/src/kuroko/util.h index 7457a13..b1f76fa 100644 --- a/src/kuroko/util.h +++ b/src/kuroko/util.h @@ -17,7 +17,7 @@ #define likely(cond) __builtin_expect((cond), 1) #define unlikely(cond) __builtin_expect((cond), 0) -#ifndef _WIN32 +#if !defined(_WIN32) && !defined(EFI_PLATFORM) #define _noexport __attribute__((visibility("hidden"))) #else #define _noexport