aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sparc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-04 23:56:39 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-04 23:56:39 +0000
commitf19f2b34439145daf300bf12789bbc61c8d4db28 (patch)
tree2aa20a0f18d38436df0e18d1620b4d5d48761ebf /sysdeps/unix/sysv/linux/sparc
parent856275fa78ee70ed659a7836864b217d7459ca17 (diff)
downloadglibc-f19f2b34439145daf300bf12789bbc61c8d4db28.tar
glibc-f19f2b34439145daf300bf12789bbc61c8d4db28.tar.gz
glibc-f19f2b34439145daf300bf12789bbc61c8d4db28.tar.bz2
glibc-f19f2b34439145daf300bf12789bbc61c8d4db28.zip
Update.
2000-01-02 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/arm/ioperm.c: Use sysctl by preference to obtain port mapping information. Avoid use of mprotect.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/fcntl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
index 4dd8f3d182..53f0d507e2 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
@@ -44,7 +44,11 @@
#endif
#ifdef __USE_LARGEFILE64
-# define O_LARGEFILE 0x40000
+# if __WORDSIZE == 64
+# define O_LARGEFILE 0
+# else
+# define O_LARGEFILE 0x40000
+# endif
#endif
/* For now Linux has no synchronisity options for data and read