security hardening: ensure suid programs have valid stdin/out/err
[oweals/musl.git] / src / internal / libc.c
index 954efedf8b04eee03e09d26b36563097ef2c65db..5f12e29588cf1cccba4f8e967c7fe7927b14e3c3 100644 (file)
@@ -1,6 +1,6 @@
 #include "libc.h"
 
-#ifdef __PIC__
+#ifdef USE_LIBC_ACCESSOR
 struct __libc *__libc_loc()
 {
        static struct __libc __libc;