Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/unix/pwrite.c')
-rw-r--r--newlib/libc/unix/pwrite.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/newlib/libc/unix/pwrite.c b/newlib/libc/unix/pwrite.c
index 23979ac79..9f2a89835 100644
--- a/newlib/libc/unix/pwrite.c
+++ b/newlib/libc/unix/pwrite.c
@@ -1,3 +1,4 @@
+#ifndef _NO_PWRITE
/*
FUNCTION
<<pwrite>>---write a file from specified position
@@ -89,4 +90,5 @@ _DEFUN (pwrite, (fd, buf, n, off),
return _pwrite_r (_REENT, fd, buf, n, off);
}
-#endif
+#endif /* !_REENT_ONLY */
+#endif /* !_NO_PWRITE */