X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Fwget.h;h=ab37507ee6a12a256989409991a0283b007dca6d;hb=4454f6ce0a4ffde97887adf2abb36833924124fe;hp=cdc301cfced6a39e10c72a7868ab530d30a925fd;hpb=31d6616c483359af431f4c33c3c5b237cd8d4426;p=wget diff --git a/src/wget.h b/src/wget.h index cdc301cf..ab37507e 100644 --- a/src/wget.h +++ b/src/wget.h @@ -198,4 +198,16 @@ typedef enum ROBOTSOK, NOROBOTS, PROXERR, AUTHFAILED, QUOTEXC, WRITEFAILED } uerr_t; +typedef unsigned char boolean; +#ifndef FALSE +#define FALSE 0 +#endif +#ifndef TRUE +#define TRUE 1 +#endif + +/* So we can say strcmp(a, b) == EQ rather than strcmp(a, b) == 0 or + the really awful !strcmp(a, b). */ +#define EQ 0 + #endif /* WGET_H */