X-Git-Url: http://git.harvie.cz/?p=svn%2FPrometheus-QoS%2F.git;a=blobdiff_plain;f=cll1-0.6.2.h;h=d3456ce3d07ddc1b5c911210719d367da2f697b5;hp=7c33ce8f3742dfae1fc31535c560a4dde87f3392;hb=c38473c17cd984140f177ccb2000089e10444299;hpb=4a1b62ea8f624700dd2eb7a9cb81d480ffd62725 diff --git a/cll1-0.6.2.h b/cll1-0.6.2.h index 7c33ce8..d3456ce 100644 --- a/cll1-0.6.2.h +++ b/cll1-0.6.2.h @@ -34,6 +34,8 @@ /* Section For Dummies part 1, updated 2004-05-07 by xCh. */ #define not ! +#define and && +#define or || #define TRUE 1 #define FALSE 0 #define loop while(1) @@ -72,6 +74,7 @@ /* String macros & sequences, updated 2004-04-19 by xCh. */ #define eq(A,B) ((A) && (B) && !strcmp(A,B)) +#define eqi(A,B) ((A) && (B) && !strcmpi(A,B)) #define strcmpi(A,B) strcasecmp(A,B) #define strlwr(A) {char *_S=A; while(_&&*_S){*_S=tolower(*_S);_S++;}} #define strupr(A) {char *_S=A; while(_&&*_S){*_S=toupper(*_S);_S++;}}