Something else that matters here is what level of Windows support Strawberry Perl is built with. At this point, I *think* the line is set at XP, so that AI_ADDRCONFIG would not end up in the headers after preprocessing. (I know it was when I was building it, I'd have to look and see what it is now.)
--Curtis Jewell On Mon, Jan 25, 2016, at 08:53, Alexandr Ciornii wrote: > Hello > > 2016-01-25 17:38 GMT+02:00 Martin Puppe <pu...@jam-software.com>: > > >>perl foo.pl > > Your vendor has not defined Socket macro AI_ADDRCONFIG, used at foo.pl line > > 6. > > Which version of Windows do you use? AI_ADDRCONFIG was added in > Windows 6.0/Vista ( > https://msdn.microsoft.com/en-us/library/windows/desktop/ms738520%28v=vs.85%29.aspx > ) > > -- > Alexandr Ciornii, http://chorny.net