about summary refs log tree commit diff
path: root/sysdeps/posix/pwrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/pwrite.c')
-rw-r--r--sysdeps/posix/pwrite.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/posix/pwrite.c b/sysdeps/posix/pwrite.c
index 65806a2e68..ef4a021881 100644
--- a/sysdeps/posix/pwrite.c
+++ b/sysdeps/posix/pwrite.c
@@ -54,4 +54,7 @@ __pwrite (int fd, const void *buf, size_t nbyte, off_t offset)
 
   return result;
 }
+
+#ifndef __pwrite
 weak_alias (__pwrite, pwrite)
+#endif