This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: beta17.1: h_errno?
- To: Assar Westerlund <assar at sics dot se>
- Subject: Re: beta17.1: h_errno?
- From: "Who cares..." <oyehia at oracle dot dsuper dot net>
- Date: Sat, 8 Feb 1997 05:57:20 -0500 (EST)
- Cc: Sergey Okhapkin <sos at prospect dot com dot ru>, "gnu-win32 at cygnus dot com" <gnu-win32 at cygnus dot com>
try adding this:
#include <sys/errno.h>
hope that helps!
On 7 Feb 1997, Assar Westerlund wrote:
> Sergey Okhapkin <sos@prospect.com.ru> writes:
> > Assar Westerlund wrote:
> > > In beta 17.1 (running NT 3.51), there's a declaration of `h_errno' in
> > > <netdb.h>, but there's no definition. I guess that's not the way it's
> >
> > Variable h_errno defined in cygwin.dll.
>
> I tried compiling this program:
>
> ----------------------------------------------------------------------
> #include <netdb.h>
>
> int main()
> {
> int foo = h_errno;
> }
> ----------------------------------------------------------------------
>
> And I get undefined reference.
>
> nm cygwin.dll | grep h_errno finds no h_errno either.
>
> /assar
> -
> For help on using this list, send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
>
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".