Visibility is not available on PE32+, turn it off for EFI in general

This commit is contained in:
K. Lange 2021-05-12 17:37:12 +09:00
parent aefdbb936a
commit d859ac5092
1 changed files with 1 additions and 1 deletions

View File

@ -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