diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-05-30 04:47:47 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-05-30 04:47:47 +0000 |
commit | eeb9d29da882153b1fa2b1e00178899bb95659b2 (patch) | |
tree | f3821d10909b9dab15f70169b1488002e6be770a /libpthread/linuxthreads/wrapsyscall.c | |
parent | 4352cfec686d850f4bd5a27d9afb99867db01a54 (diff) |
In a number of places we erroneously used tests such as '#ifdef PIC' when we
should instead have been testing for '#ifdef __PIC__'. This resulted in
NON-PIC code getting mixed into the shared library. Oops!!!
-Erik
Diffstat (limited to 'libpthread/linuxthreads/wrapsyscall.c')
-rw-r--r-- | libpthread/linuxthreads/wrapsyscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/wrapsyscall.c b/libpthread/linuxthreads/wrapsyscall.c index fa5b24dc4..6b8a00bb5 100644 --- a/libpthread/linuxthreads/wrapsyscall.c +++ b/libpthread/linuxthreads/wrapsyscall.c @@ -34,7 +34,7 @@ #include <sys/syscall.h> -#ifndef PIC +#ifndef __PIC__ /* We need a hook to force this file to be linked in when static libpthread is used. */ const int __pthread_provide_wrappers = 0; |