diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1999-08-26 13:39:32 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1999-08-26 13:39:32 -0400 |
commit | ab1d1ae525ff4bed44e3ca2030fa655ad7c5bc7d (patch) | |
tree | 6443da66048e206549901ab7f49b3772749a755a /WWW/Library/Implementation/HTTCP.h | |
parent | fde43024bd6579b609526faf94dcdbcb6f2bc5e1 (diff) | |
download | lynx-snapshots-ab1d1ae525ff4bed44e3ca2030fa655ad7c5bc7d.tar.gz |
snapshot of project "lynx", label v2-8-3dev_7
Diffstat (limited to 'WWW/Library/Implementation/HTTCP.h')
-rw-r--r-- | WWW/Library/Implementation/HTTCP.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/WWW/Library/Implementation/HTTCP.h b/WWW/Library/Implementation/HTTCP.h index d22cac8d..589e16ef 100644 --- a/WWW/Library/Implementation/HTTCP.h +++ b/WWW/Library/Implementation/HTTCP.h @@ -10,7 +10,7 @@ #ifndef HTUTILS_H #include <HTUtils.h> #endif - + /* Produce a string for an internet address ** --------------------------------------- ** @@ -86,10 +86,12 @@ extern BOOL valid_hostname PARAMS((CONST char * name)); */ extern int lynx_nsl_status; -#ifndef DJGPP +#if defined(__DJGPP__) && !defined(WATT32) +#define LYGetHostByName(host) resolv(host) /* we'll use it the same way */ +#else extern struct hostent * LYGetHostByName PARAMS(( CONST char * str)); -#endif /* DJGPP */ +#endif /* Parse an internet node address and port |