removed now obsolete NETDB_DEFINE_CONTEXT macro calls.
This commit is contained in:
parent
6a88eab067
commit
c0095d6dd9
@ -63,9 +63,6 @@
|
||||
#include <sys/filio.h>
|
||||
#endif
|
||||
#ifdef NETWARE
|
||||
#ifndef __NOVELL_LIBC__
|
||||
NETDB_DEFINE_CONTEXT
|
||||
#endif
|
||||
#undef in_addr_t
|
||||
#define in_addr_t unsigned long
|
||||
#endif
|
||||
|
@ -285,7 +285,6 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
|
||||
*/
|
||||
else {
|
||||
#if (defined(NETWARE) && !defined(__NOVELL_LIBC__))
|
||||
NETDB_DEFINE_CONTEXT
|
||||
h = gethostbyname((char*)hostname);
|
||||
#else
|
||||
h = gethostbyname(hostname);
|
||||
|
@ -308,13 +308,6 @@ void DisposeThreadData( void *data )
|
||||
/* For native CLib-based NLM seems we can do a bit more simple. */
|
||||
#include <nwthread.h>
|
||||
|
||||
/* Make the CLIB Ctx stuff link */
|
||||
/*
|
||||
#include <stdio.h>
|
||||
#include <netdb.h>
|
||||
NETDB_DEFINE_CONTEXT
|
||||
*/
|
||||
|
||||
int main ( void )
|
||||
{
|
||||
/* initialize any globals here... */
|
||||
|
Loading…
x
Reference in New Issue
Block a user