mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Fixed compilation under Ultrix.
This commit is contained in:
parent
5fa95aabc7
commit
51c82cd8b3
@ -1,3 +1,9 @@
|
|||||||
|
2003-10-23 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
|
* config.h.in: Deploy preprocessor magic to avoid Ultrix's
|
||||||
|
<netdb.h> include <bitypes.h> which defines its own u_int32_t.
|
||||||
|
Reported by Bernhard Simon.
|
||||||
|
|
||||||
2003-10-23 Hrvoje Niksic <hniksic@xemacs.org>
|
2003-10-23 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* version.c: Bump version.
|
* version.c: Bump version.
|
||||||
|
@ -278,6 +278,10 @@ char *alloca ();
|
|||||||
/* Define if you have u_int32_t. */
|
/* Define if you have u_int32_t. */
|
||||||
#undef HAVE_U_INT32_T
|
#undef HAVE_U_INT32_T
|
||||||
|
|
||||||
|
/* Some autoconf-unrelated preprocessor magic that cannot be in
|
||||||
|
sysdep.h because it must be done before including the system
|
||||||
|
headers. */
|
||||||
|
|
||||||
/* First a gambit to see whether we're on Solaris. We'll
|
/* First a gambit to see whether we're on Solaris. We'll
|
||||||
need it below. */
|
need it below. */
|
||||||
#ifdef __sun
|
#ifdef __sun
|
||||||
@ -286,6 +290,17 @@ char *alloca ();
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Under Ultrix, u_int32_t is only defined when <sys/bitypes.h> is
|
||||||
|
included. Therefore, configure doesn't pick it up, but files that
|
||||||
|
include <netdb.h> (or <resolv.h>) fail to compile because it includes
|
||||||
|
bitypes.h. This magic define causes netdb.h/resolv.h not to include
|
||||||
|
bitypes.h under Ultrix. */
|
||||||
|
|
||||||
|
#ifdef __ultrix
|
||||||
|
# define BSD 199306
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* The following several lines can be very dangerous; they can cripple
|
/* The following several lines can be very dangerous; they can cripple
|
||||||
the header files and break compilation in _verY_ non-obvious ways.
|
the header files and break compilation in _verY_ non-obvious ways.
|
||||||
Because of that, we define them only on architectures we know
|
Because of that, we define them only on architectures we know
|
||||||
|
Loading…
Reference in New Issue
Block a user