aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-09-06 19:31:46 +0000
committerRoland McGrath <roland@gnu.org>2002-09-06 19:31:46 +0000
commit4f58b7c6f7aaed8c886accb8b119a6948d480e71 (patch)
tree363bf97d1a71b87e2dcd2a4f08a6129d1ce8f6b3 /linuxthreads
parent131c6eb7daca02f20884c59e254d0963d07a9d5a (diff)
downloadglibc-4f58b7c6f7aaed8c886accb8b119a6948d480e71.zip
glibc-4f58b7c6f7aaed8c886accb8b119a6948d480e71.tar.gz
glibc-4f58b7c6f7aaed8c886accb8b119a6948d480e71.tar.bz2
* sysdeps/generic/bits/ustat.h: Comment fix.
* io/sys/sendfile.h: Comment fix. * sysdeps/posix/pread.c: Comment fix. * sysdeps/posix/pread64.c: Comment fix. * sysdeps/posix/pwrite.c: Comment fix. * sysdeps/posix/pwrite64.c: Comment fix.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog3
-rw-r--r--linuxthreads/sysdeps/alpha/pt-machine.h6
2 files changed, 8 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 6d4850b..a30efcb 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,5 +1,8 @@
2002-09-04 Bruno Haible <bruno@clisp.org>
+ * sysdeps/alpha/pt-machine.h: Choose different include file location
+ on non-Linux platforms.
+
* wrapsyscall.c (PROMOTE_INTEGRAL_TYPE): New macro.
(open, open64): Change va_arg argument type to the integral type to
which mode_t promotes.
diff --git a/linuxthreads/sysdeps/alpha/pt-machine.h b/linuxthreads/sysdeps/alpha/pt-machine.h
index c7d04d4..fa0374b 100644
--- a/linuxthreads/sysdeps/alpha/pt-machine.h
+++ b/linuxthreads/sysdeps/alpha/pt-machine.h
@@ -26,7 +26,11 @@
# define PT_EI extern inline
#endif
-#include <asm/pal.h>
+#ifdef __linux__
+# include <asm/pal.h>
+#else
+# include <machine/pal.h>
+#endif
extern long int testandset (int *spinlock);
extern int __compare_and_swap (long int *p, long int oldval, long int newval);