diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/i386/i686/multiarch/wcschr-c.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sysdeps/i386/i686/multiarch/wcschr-c.c b/sysdeps/i386/i686/multiarch/wcschr-c.c index a63e50e283..c23af26201 100644 --- a/sysdeps/i386/i686/multiarch/wcschr-c.c +++ b/sysdeps/i386/i686/multiarch/wcschr-c.c @@ -1,8 +1,14 @@ +#include <wchar.h> + #ifndef NOT_IN_libc -# undef libc_hidden_def -# define libc_hidden_def(name) \ - __hidden_ver1 (__wcschr_ia32, __GI_wcschr, __wcschr_ia32); +# ifdef SHARED +# undef libc_hidden_def +# define libc_hidden_def(name) \ + __hidden_ver1 (__wcschr_ia32, __GI_wcschr, __wcschr_ia32); +# endif # define WCSCHR __wcschr_ia32 #endif +extern __typeof (wcschr) __wcschr_ia32; + #include "wcsmbs/wcschr.c" |