diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 21dc9ebb1e..22f6f64a23 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,12 @@ 2002-12-01 23:12 UTC+0100 Foo Bar */ +2004-03-19 11:40 UTC+0100 Ryszard Glab + * utils/hbmake/hbmake.prg + *fixed #define datediff(,) into datediff(x,y) + (Clipper compatibility) (thanks to Jacek Kubica) + + 2004-03-19 08:20 UTC+0100 Ryszard Glab * source/debug/debugger.prg * fixed refreshing of watchpoints diff --git a/harbour/utils/hbmake/hbmake.prg b/harbour/utils/hbmake/hbmake.prg index 17c663acca..2e72cb1efe 100644 --- a/harbour/utils/hbmake/hbmake.prg +++ b/harbour/utils/hbmake/hbmake.prg @@ -65,7 +65,7 @@ #xtranslate timetosec() => ((val(substr(,1,2))*3600)+(val(substr(,4,2))*60)+(val(substr(,7,2)))) #ifdef __HARBOUR__ -#define datediff(,) (-) +#define datediff(x,y) (x-y) #else #translate datediff(,) => (-) #endif