summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/mips/tls.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-06-03 03:07:52 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-06-03 03:07:52 +0000
commita4db401c4e61ba9db1e96fc670a7eb1ee7da2a5f (patch)
treea7a4f4de537e8dfa57fe74803b05a4c4032b15ac /libpthread/nptl/sysdeps/mips/tls.h
parent2fa128140331bedcb9677ab7838dca63926abd63 (diff)
downloaduClibc-alpine-a4db401c4e61ba9db1e96fc670a7eb1ee7da2a5f.tar.bz2
uClibc-alpine-a4db401c4e61ba9db1e96fc670a7eb1ee7da2a5f.tar.xz
Fix up include paths for compilation in uClibc.
Diffstat (limited to 'libpthread/nptl/sysdeps/mips/tls.h')
-rw-r--r--libpthread/nptl/sysdeps/mips/tls.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/libpthread/nptl/sysdeps/mips/tls.h b/libpthread/nptl/sysdeps/mips/tls.h
index 2737488da..eb78bf5d0 100644
--- a/libpthread/nptl/sysdeps/mips/tls.h
+++ b/libpthread/nptl/sysdeps/mips/tls.h
@@ -20,14 +20,7 @@
#ifndef _TLS_H
#define _TLS_H 1
-#if 0
-/*
- * MIPS NPTL - defines a total of two symbols used by the glibc
- * dynamic loader. Hopefully we will not need it for
- * uClibc.
- */
#include <dl-sysdep.h>
-#endif
#ifndef __ASSEMBLER__
# include <stdbool.h>
@@ -89,13 +82,10 @@ typedef union dtv
# define TLS_DTV_AT_TP 1
/* Get the thread descriptor definition. */
-#if 0
-/*
- * MIPS NPTL - we have different include paths than glibc.
- */
-# include <nptl/descr.h>
-#else
+#ifdef __UCLIBC__
# include <descr.h>
+#else
+# include <nptl/descr.h>
#endif
typedef struct