summaryrefslogtreecommitdiffstats
path: root/boehm-gc/linux_threads.c
diff options
context:
space:
mode:
Diffstat (limited to 'boehm-gc/linux_threads.c')
-rw-r--r--boehm-gc/linux_threads.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/boehm-gc/linux_threads.c b/boehm-gc/linux_threads.c
index 12e71cea1fe..f83e1dd37b2 100644
--- a/boehm-gc/linux_threads.c
+++ b/boehm-gc/linux_threads.c
@@ -118,8 +118,13 @@ package, we generate a dummy reference to `__pthread_initial_thread_bos',
which is a symbol defined in LinuxThreads, but (hopefully) not in other
thread packages.
*/
+#if 0
+/* Note: on Caldera OpenLinux, this symbols is `local' in the
+ libpthread.so (but not in libpthread.a). We don't really need
+ this, so we just comment it out. */
extern char * __pthread_initial_thread_bos;
char **dummy_var_to_force_linux_threads = &__pthread_initial_thread_bos;
+#endif
#define LINUX_THREADS_STACK_SIZE (2 * 1024 * 1024)
OpenPOWER on IntegriCloud