Feb. 26, 2016
5:06 p.m.
On 02/26/2016 06:11 AM, Ian Abbott wrote:
It builds in a MinGW-w64 Win32 or Win64 environment with the following command line:
make CFLAGS="-DHAVE_SYS_WAIT_H=0 -DHAVE_DIRECT_H=1 -DHAVE_SYMLINK=0 -DHAVE_LINK=0 -DHAVE_LOCALTIME_R=0 -DHAVE_POSIX_DECLS=0"
Thanks, but why is the -DHAVE_POSIX_DECLS=0 argument needed? I was hoping that HAVE_POSIX_DECLS could have the default value under MS-Windows.
I still get the warnings about the dllimport attribute on 'tzname'.
Sorry, I forgot to avoid redefinition of tzname. Fixed in the attached patch, which I've installed on GitHub. This still assumes you're compiling without setting HAVE_POSIX_DECLS, though, so possibly we need further changes.