Make getcwd conditional on HAVE_GETCWD and declare with the correct POSIX profile (for some reason MinGW headers define its 2nd arg as int, not size_t; but getcwd is not used on Windows nonetheless).
This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}. At present, these are mostly utility
programs used by GNU Emacs.