diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1998-08-15 22:09:45 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1998-08-15 22:09:45 -0400 |
commit | 0eae931d4f0fd1194dfcd978c3d94079b710923f (patch) | |
tree | 5713fc8c66fffb144192357464fe616522c6c7fe /WWW/Library/Implementation | |
parent | d7e8d7e419ae58610a9988ff09910670a59526ff (diff) | |
download | lynx-snapshots-0eae931d4f0fd1194dfcd978c3d94079b710923f.tar.gz |
snapshot of project "lynx", label v2-8-1dev_21
Diffstat (limited to 'WWW/Library/Implementation')
-rw-r--r-- | WWW/Library/Implementation/HTUtils.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/HTUtils.h b/WWW/Library/Implementation/HTUtils.h index d1cdf51f..e6917daa 100644 --- a/WWW/Library/Implementation/HTUtils.h +++ b/WWW/Library/Implementation/HTUtils.h @@ -372,6 +372,7 @@ The local equivalents of CR and LF #define CTRACE if(TRACE)fprintf #define tfp TraceFP() +#define CTRACE_SLEEP(secs) if (TRACE && LYTraceLogFP == 0) sleep(secs) extern FILE *TraceFP NOPARAMS; @@ -384,9 +385,24 @@ extern FILE *TraceFP NOPARAMS; * for the stdio functions as well as the network functions. */ #if defined(USE_SOCKS5) && !defined(DONT_USE_SOCKS5) -#define SOCKS4TO5 -#define SHORTENED_RBIND +#define SOCKS4TO5 /* turn on the Rxxxx definitions used in Lynx */ #include <socks.h> + +/* + * The AIX- and SOCKS4-specific definitions in socks.h are inconsistent. + * Repair them so they're consistent (and usable). + */ +#if defined(_AIX) && !defined(USE_SOCKS4_PREFIX) +#undef Raccept +#define Raccept accept +#undef Rgetsockname +#define Rgetsockname getsockname +#undef Rgetpeername +#define Rgetpeername getpeername +#endif + #endif /* USE_SOCKS5 */ +#define SHORTENED_RBIND /* FIXME: do this in configure-script */ + #endif /* HTUTILS_H */ |