----- Original Message ----- > From: John W. Eaton <j...@octave.org> > To: gnulib <bug-gnulib@gnu.org> > Cc: j...@octave.org > Date: 2016/6/25, Sat 04:46 > Subject: gethostname on 64-bit Windows > > I needed the attached change to cross compile Octave for i686-w64-mingw32. > > Without it, rpl_gethostname was undefined because w64 has a gethostname > function > so gethostname.c is not added to the list of files to build but gethostname > was > still being redefined to rpl_gethostname. > > jwe
> gethostname on 64-bit Windows > I needed the attached change to cross compile Octave for i686-w64-mingw32. This is not related to your patch. The hostname Mingw w64 64 bit is x86_64-w64-mingw32. The hostname Mingw w64 32 bit is i686-w64-mingw32. Tatsuro