From 6077e98328faf74ece0d34fecacc4d32cf5c563c Mon Sep 17 00:00:00 2001 From: Ignacio Ortiz de Zuniga Date: Thu, 20 Jun 2002 12:27:51 +0000 Subject: [PATCH] 20020620-14:28 GMT+1 Ignacio Ortiz --- harbour/source/pp/ppcore.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/harbour/source/pp/ppcore.c b/harbour/source/pp/ppcore.c index 78afceca84..a1eae84a94 100644 --- a/harbour/source/pp/ppcore.c +++ b/harbour/source/pp/ppcore.c @@ -582,7 +582,8 @@ DEFINES * hb_pp_AddDefine( char * defname, char * value ) if( stdef != NULL ) { - hb_compGenWarning( hb_pp_szWarnings, 'I', HB_PP_WARN_DEFINE_REDEF, defname, NULL ); + if( strcmp(stdef->value, value ) != 0 ) + hb_compGenWarning( hb_pp_szWarnings, 'I', HB_PP_WARN_DEFINE_REDEF, defname, NULL ); if( isNew ) { @@ -3980,4 +3981,4 @@ void CloseInclude( void ) if( hb_comp_files.pLast ) hb_comp_iLine = hb_comp_files.pLast->iLine; hb_comp_files.iFiles--; -} \ No newline at end of file +}