1
0
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:
hniksic 2006-02-02 05:37:56 -08:00
parent 31cc8166dc
commit b89b58e00a
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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"