+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ unistd: Fix C++ test error on mingw.
+ * lib/unistd.in.h (getcwd): Use _GL_CXXALIAS_SYS_CAST.
+
2010-04-03 Bruno Haible <bruno@clisp.org>
Update doc regarding mingw.
_GL_FUNCDECL_RPL (getcwd, char *, (char *buf, size_t size));
_GL_CXXALIAS_RPL (getcwd, char *, (char *buf, size_t size));
# else
-_GL_CXXALIAS_SYS (getcwd, char *, (char *buf, size_t size));
+/* Need to cast, because on mingw, the second parameter is
+ int size. */
+_GL_CXXALIAS_SYS_CAST (getcwd, char *, (char *buf, size_t size));
# endif
_GL_CXXALIASWARN (getcwd);
#elif defined GNULIB_POSIXCHECK