* lib/unistd.in.h (pread): Undefine before defining as a macro.
(pwrite): Likewise.
+2011-06-17 Bruno Haible <bruno@clisp.org>
+
+ pread, pwrite: Avoid cc warning on AIX.
+ * lib/unistd.in.h (pread): Undefine before defining as a macro.
+ (pwrite): Likewise.
+
2011-06-17 Bruno Haible <bruno@clisp.org>
spawn-pipe tests: Fix link error.
specification <http://www.opengroup.org/susv3xsh/pread.html>. */
# if @REPLACE_PREAD@
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+# undef pread
# define pread rpl_pread
# endif
_GL_FUNCDECL_RPL (pread, ssize_t,
<http://www.opengroup.org/susv3xsh/pwrite.html>. */
# if @REPLACE_PWRITE@
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
+# undef pwrite
# define pwrite rpl_pwrite
# endif
_GL_FUNCDECL_RPL (pwrite, ssize_t,