From 33be53336ea5665033ead8bffa07aff5276407fe Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 23 Jun 1999 00:11:59 +0000 Subject: [PATCH] *** empty log message *** --- harbour/ChangeLog | 4 +++- harbour/include/types.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index b0519d9ba3..45dcbf2fe6 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,8 +1,10 @@ 19990623-01:00 CET Victor Szel - * source/rtl/asort.prg + ! source/rtl/asort.prg Added patch posted by Dave Pearson quicksort() is STATIC now. + + source/rtl/types.h + SYMBOL_UNUSED() macro added. 19990622-00:35 Ryszard Glab * source/compiler/harbour.y diff --git a/harbour/include/types.h b/harbour/include/types.h index 1b04a72e73..1bbcd5b7eb 100644 --- a/harbour/include/types.h +++ b/harbour/include/types.h @@ -71,6 +71,8 @@ typedef HARBOUR ( * HARBOURFUNC )( void ); #define _POSIX_PATH_MAX 255 #endif +#define SYMBOL_UNUSED(symbol) (void)symbol + #define IS_BYREF( p ) ( ( p )->wType & IT_BYREF ) #define IS_OF_TYPE( p, t ) ( ( ( p )->wType & ~IT_BYREF ) == t ) #define IS_ARRAY( p ) IS_OF_TYPE( p, IT_ARRAY )