From 4c9e7f21dd618564c2be22eedc771dca91dbd65d Mon Sep 17 00:00:00 2001 From: Ryszard Glab Date: Sat, 20 Mar 2004 10:30:02 +0000 Subject: [PATCH] 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) --- harbour/ChangeLog | 6 ++++++ harbour/utils/hbmake/hbmake.prg | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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