about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-03-11 16:17:50 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2014-03-12 06:54:44 -0500
commit27c7220a483bda576533aa9a0a9b42175644b1a1 (patch)
tree8781e3f01a25a5fbb043a011a28697820b7e7286 /sysdeps
parent76c96cf7ec0dc38089c9a887f80b3222f6084c82 (diff)
downloadglibc-27c7220a483bda576533aa9a0a9b42175644b1a1.tar.gz
glibc-27c7220a483bda576533aa9a0a9b42175644b1a1.tar.xz
glibc-27c7220a483bda576533aa9a0a9b42175644b1a1.zip
PowerPC: Fix strspn for static build
This patch makes the strspn ifunc selector build for static builds.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/powerpc/powerpc64/multiarch/strspn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/powerpc64/multiarch/strspn.c b/sysdeps/powerpc/powerpc64/multiarch/strspn.c
index 44945f328e..bf8c877ec2 100644
--- a/sysdeps/powerpc/powerpc64/multiarch/strspn.c
+++ b/sysdeps/powerpc/powerpc64/multiarch/strspn.c
@@ -16,7 +16,7 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#if defined SHARED && !defined NOT_IN_libc
+#ifndef NOT_IN_libc
 # include <string.h>
 # include <shlib-compat.h>
 # include "init-arch.h"