Explorar o código

Merge /u/xypron/gnu-efi/ branch GCC_visibility into master

https://sourceforge.net/p/gnu-efi/code/merge-requests/20/
b'Nigel Croxon %!s(int64=4) %!d(string=hai) anos
pai
achega
9e7e6822b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      inc/arm/efibind.h

+ 1 - 1
inc/arm/efibind.h

@@ -38,7 +38,7 @@ typedef int32_t             intptr_t;
  * This prevents GCC from emitting GOT based relocations, and use R_ARM_REL32
  * relative relocations instead, which are more suitable for static binaries.
  */
-#ifdef __GNUC__
+#if defined(__GNUC__) && !__STDC_HOSTED__
 #pragma GCC visibility push (hidden)
 #endif