From c03d0643b368c72a85c24173a90afed3c2c9d2b1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 10 Mar 2005 14:05:08 +0000 Subject: [PATCH] Define USE_NON_CONST to avoid bad warnings for const for Tcl 8.4 or later. --- ir-tclp.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ir-tclp.h b/ir-tclp.h index 7187042..0c371d9 100644 --- a/ir-tclp.h +++ b/ir-tclp.h @@ -5,7 +5,11 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: ir-tclp.h,v $ - * Revision 1.40 2002-03-20 14:48:54 adam + * Revision 1.41 2005-03-10 14:05:08 adam + * Define USE_NON_CONST to avoid bad warnings for const for Tcl 8.4 + * or later. + * + * Revision 1.40 2002/03/20 14:48:54 adam * implemented USR.1 SearchResult-1 * * Revision 1.39 1999/11/30 14:05:58 adam @@ -156,6 +160,8 @@ #ifndef IR_TCLP_H #define IR_TCLP_H +/* to avoid Tcl8.4 or newer to use const */ +#define USE_NON_CONST #include #include -- 1.7.10.4