diff options
author | emaste <emaste@FreeBSD.org> | 2014-11-21 02:05:48 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2014-11-21 02:05:48 +0000 |
commit | c7e313326dae74e64f75ded1afb06337d55ecd57 (patch) | |
tree | 9eebff29c016aa690ddbb8ca4e33ff42270a0d1c /lib/libkiconv/xlat16_sysctl.c | |
parent | 8723ec446135291c191b573bd01676c8a4c83d3e (diff) | |
download | FreeBSD-src-c7e313326dae74e64f75ded1afb06337d55ecd57.zip FreeBSD-src-c7e313326dae74e64f75ded1afb06337d55ecd57.tar.gz |
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
Diffstat (limited to 'lib/libkiconv/xlat16_sysctl.c')
-rw-r--r-- | lib/libkiconv/xlat16_sysctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkiconv/xlat16_sysctl.c b/lib/libkiconv/xlat16_sysctl.c index ae4dae7..7c3504f 100644 --- a/lib/libkiconv/xlat16_sysctl.c +++ b/lib/libkiconv/xlat16_sysctl.c @@ -37,7 +37,7 @@ * when statically linked. */ -#ifdef PIC +#ifdef __PIC__ #include <sys/types.h> #include <sys/iconv.h> @@ -82,4 +82,4 @@ kiconv_add_xlat16_table(const char *to __unused, const char *from __unused, return (EINVAL); } -#endif /* PIC */ +#endif /* __PIC__ */ |