mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
stdint.h adjustments for Interix, thanks Markus Duft <mduft@gentoo.org>.
This commit is contained in:
parent
bb2cba2cc7
commit
faa3908610
@ -1,3 +1,12 @@
|
|||||||
|
2009-04-24 Micah Cowan <micah@cowan.name>
|
||||||
|
|
||||||
|
* hash.c: Change stdint.h inclusion to use HAVE_STDINT_H, not C99
|
||||||
|
check.
|
||||||
|
|
||||||
|
* connect.c: stdint.h inclusion added.
|
||||||
|
|
||||||
|
Thanks to Markus Duft <mduft@gentoo.org> for a similar patch.
|
||||||
|
|
||||||
2009-04-20 Micah Cowan <micah@cowan.name>
|
2009-04-20 Micah Cowan <micah@cowan.name>
|
||||||
|
|
||||||
* Makefile.am (version.c): Fix unportable use of "echo -n".
|
* Makefile.am (version.c): Fix unportable use of "echo -n".
|
||||||
|
@ -59,6 +59,11 @@ as that of the covered work. */
|
|||||||
#include "connect.h"
|
#include "connect.h"
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
|
|
||||||
|
/* Apparently needed for Interix: */
|
||||||
|
#ifdef HAVE_STDINT_H
|
||||||
|
# include <stdint.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define sockaddr_storage where unavailable (presumably on IPv4-only
|
/* Define sockaddr_storage where unavailable (presumably on IPv4-only
|
||||||
hosts). */
|
hosts). */
|
||||||
|
|
||||||
|
@ -55,8 +55,8 @@ as that of the covered work. */
|
|||||||
# endif
|
# endif
|
||||||
# include <ctype.h>
|
# include <ctype.h>
|
||||||
# define c_tolower(x) tolower ((unsigned char) (x))
|
# define c_tolower(x) tolower ((unsigned char) (x))
|
||||||
# if __STDC_VERSION__ >= 199901L
|
# ifdef HAVE_STDINT_H
|
||||||
# include <stdint.h> /* for uintptr_t */
|
# include <stdint.h>
|
||||||
# else
|
# else
|
||||||
typedef unsigned long uintptr_t;
|
typedef unsigned long uintptr_t;
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user