summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-24 12:34:00 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-24 12:34:00 +0000
commitc29df5ad24a5b9ba5d78d837d6d3a16b6be40f1f (patch)
tree3574facd186c997b51d4bd2c24261359d62c01f9 /libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h
parentb38a7b0945fb6f6bf23592dab916bb58faebad11 (diff)
Guard GL(name) and it's users w/ SHARED
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h')
-rw-r--r--libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h b/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h
index 50facde27..17c4b24b3 100644
--- a/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h
+++ b/libpthread/linuxthreads/sysdeps/pthread/uClibc-glue.h
@@ -30,10 +30,12 @@
#define __clone clone
/* taken from ldsodefs.h, modified */
-#define GL(name) _##name
+#ifdef SHARED
+# define GL(name) _##name
void (*_dl_rtld_lock_recursive) (void *);
void (*_dl_rtld_unlock_recursive) (void *);
void **(*_dl_error_catch_tsd) (void) __attribute__ ((const));
+#endif
extern void *__libc_stack_end;
extern int __cxa_atexit (void (*func) (void *), void *arg, void *d);