X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Finternal%2Flibc.c;h=59d302d47fee716a592b8543ecbf27851aa17395;hp=954efedf8b04eee03e09d26b36563097ef2c65db;hb=bae2e52bfd676c447862b9baec535db401aab075;hpb=d89c9e8a63018810bb6a3e2ae55604996cc21e7b diff --git a/src/internal/libc.c b/src/internal/libc.c index 954efedf..59d302d4 100644 --- a/src/internal/libc.c +++ b/src/internal/libc.c @@ -1,11 +1,11 @@ #include "libc.h" -#ifdef __PIC__ +#ifdef USE_LIBC_ACCESSOR struct __libc *__libc_loc() { static struct __libc __libc; return &__libc; } #else -struct __libc __libc; +struct __libc __libc ATTR_LIBC_VISIBILITY; #endif