From 08ea793bf471702a64971e906a60bf468065a663 Mon Sep 17 00:00:00 2001 From: Ignacio Ortiz de Zuniga Date: Thu, 25 Jul 2002 11:42:11 +0000 Subject: [PATCH] 2002-07-25 13:40 UTC+0100 Ignacio Ortiz --- harbour/source/pp/ppcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/harbour/source/pp/ppcore.c b/harbour/source/pp/ppcore.c index 554a97cb2d..6ef9d568d0 100644 --- a/harbour/source/pp/ppcore.c +++ b/harbour/source/pp/ppcore.c @@ -582,7 +582,7 @@ DEFINES * hb_pp_AddDefine( char * defname, char * value ) if( stdef != NULL ) { - if( strcmp(stdef->value, value ) != 0 ) + if( stdef->value && strcmp(stdef->value, value ) != 0 ) hb_compGenWarning( hb_pp_szWarnings, 'I', HB_PP_WARN_DEFINE_REDEF, defname, NULL ); if( isNew )