From c7e313326dae74e64f75ded1afb06337d55ecd57 Mon Sep 17 00:00:00 2001 From: emaste Date: Fri, 21 Nov 2014 02:05:48 +0000 Subject: Use canonical __PIC__ flag It is automatically set when -fPIC is passed to the compiler. Reviewed by: dim, kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1179 --- lib/libc/include/errlst.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/include/errlst.h') diff --git a/lib/libc/include/errlst.h b/lib/libc/include/errlst.h index 4e9e29f..1b329b3 100644 --- a/lib/libc/include/errlst.h +++ b/lib/libc/include/errlst.h @@ -31,7 +31,7 @@ #include -#ifdef PIC +#ifdef __PIC__ /* If the main executable imports these, do not use its copy from libc.so. */ extern const char *const __hidden_sys_errlist[] __hidden; extern const int __hidden_sys_nerr __hidden; -- cgit v1.1