X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=progs%2Finfocmp.c;h=bcec57d9c75cd03f4dd573417c9362c02f09fb79;hp=449270efa96f16e092ac042a1adcf6f1f0a35c82;hb=7087871f804c061d339994964269f3c20e88f547;hpb=4e793faf6575b2297482f77b2bc3d18105c0fc76 diff --git a/progs/infocmp.c b/progs/infocmp.c index 449270ef..bcec57d9 100644 --- a/progs/infocmp.c +++ b/progs/infocmp.c @@ -42,7 +42,7 @@ #include -MODULE_ID("$Id: infocmp.c,v 1.125 2013/05/25 20:13:24 tom Exp $") +MODULE_ID("$Id: infocmp.c,v 1.126 2013/06/08 16:51:33 tom Exp $") #define L_CURL "{" #define R_CURL "}" @@ -404,7 +404,11 @@ show_comparing(char **names) * macro is used for limit-checks against the symbols that tic uses to omit * the two types of non-standard entry. */ +#if NCURSES_XNAMES #define check_user_definable(n,limit) if (!_nc_user_definable && (n) > (limit)) break +#else +#define check_user_definable(n,limit) if ((n) > (limit)) break +#endif /* * Use these macros to simplify loops on C_COMMON and C_NAND: