Re: problem with unistd.h on mingw systems

2013-01-17 Thread Eric Blake
On 01/17/2013 02:38 PM, Paul Eggert wrote: > On 01/17/13 13:27, John W. Eaton wrote: >> >> Do you expect this to continue to work for older versions of mingw? > > No, that hasn't been the practice in the past. I pushed the following > to the doc to make it clearer: > > --- > doc/gnulib-intro.te

Re: problem with unistd.h on mingw systems

2013-01-17 Thread Paul Eggert
On 01/17/13 13:27, John W. Eaton wrote: > > Do you expect this to continue to work for older versions of mingw? No, that hasn't been the practice in the past. I pushed the following to the doc to make it clearer: --- doc/gnulib-intro.texi | 1 + 1 file changed, 1 insertion(+) diff --git a/doc

Re: Re: problem with unistd.h on mingw systems

2013-01-17 Thread John W. Eaton
On 01/16/2013 06:49 PM, Paul Eggert wrote: Thanks, I pushed this: Thanks for the quick response. Do you expect this to continue to work for older versions of mingw? I don't care about that myself, I'm just wondering whether that is something gnulib should do. Or is the target for gnulib l

Re: problem with unistd.h on mingw systems

2013-01-16 Thread Paul Eggert
Thanks, I pushed this: --- ChangeLog | 5 + lib/unistd.in.h | 20 ++-- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index c692ff0..8218eb3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2013-01-16 Paul Eggert +

problem with unistd.h on mingw systems

2013-01-16 Thread John W. Eaton
While trying to build Octave for mingw, I hit the following error: ../../liboctave/system/oct-env.cc: In member function 'std::string octave_env::do_get_host_name() const': ../../liboctave/system/oct-env.cc:455:20: error: 'gethostname' is not a member of 'gnulib' ../../liboctave/system/oct