1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Fixed definition of TOLOWER when STANDALONE.

This commit is contained in:
hniksic 2006-03-06 06:00:18 -08:00
parent 46c94e5f26
commit 2fc7e59e06
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-03-06 Hrvoje Niksic <hniksic@xemacs.org>
* hash.c (TOLOWER): Fix definition when STANDALONE.
Reported by Beni Serfaty.
2006-03-02 Mauro Tortonesi <mauro@ferrara.linux.it>
* http.c (http_loop): Fixed recursive HTTP retrieval.

View File

@ -53,7 +53,8 @@ so, delete this exception statement from your version. */
# ifndef countof
# define countof(x) (sizeof (x) / sizeof ((x)[0]))
# endif
# define TOLOWER(x) ('A' <= (x) && (x) <= 'Z' ? (x) - 32 : (x))
# include <ctype.h>
# define TOLOWER(x) tolower ((unsigned char) x)
# if __STDC_VERSION__ >= 199901L
# include <stdint.h> /* for uintptr_t */
# else