[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unistd.h -vs- winnt.h
From: |
Paul Eggert |
Subject: |
Re: unistd.h -vs- winnt.h |
Date: |
Wed, 20 Nov 2013 11:12:33 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
On 11/20/2013 07:09 AM, Tom Tromey wrote:
> However, after some exploration I discovered that I could eliminate the
> gethostname error by dropping the strstr and strerror modules.
Thanks, I assume the problem is fixed then, at least for you.
I think the gethostname disaster is because we have to include
winsock2.h before defining our own gethostname, to avoid
clashes with the system gethostname. Or something.
(I don't use Windows.)