mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Obtain the declaration of uintptr_t when standalone.
This commit is contained in:
parent
31cc8166dc
commit
b89b58e00a
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
* hash.c: Don't define countof if it's already defined.
|
* hash.c: Don't define countof if it's already defined.
|
||||||
|
|
||||||
|
* hash.c: Obtain the definition of uintptr_t when standalone.
|
||||||
|
|
||||||
2006-01-30 Mauro Tortonesi <mauro@ferrara.linux.it>
|
2006-01-30 Mauro Tortonesi <mauro@ferrara.linux.it>
|
||||||
|
|
||||||
* http.c: Changed output format. Removed excessively verbose debugging
|
* http.c: Changed output format. Removed excessively verbose debugging
|
||||||
|
@ -54,6 +54,11 @@ so, delete this exception statement from your version. */
|
|||||||
# define countof(x) (sizeof (x) / sizeof ((x)[0]))
|
# define countof(x) (sizeof (x) / sizeof ((x)[0]))
|
||||||
# endif
|
# endif
|
||||||
# define TOLOWER(x) ('A' <= (x) && (x) <= 'Z' ? (x) - 32 : (x))
|
# define TOLOWER(x) ('A' <= (x) && (x) <= 'Z' ? (x) - 32 : (x))
|
||||||
|
# if __STDC_VERSION__ >= 199901L
|
||||||
|
# include <stdint.h> /* for uintptr_t */
|
||||||
|
# else
|
||||||
|
typedef unsigned long uintptr_t;
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user