From 5ade4143ba2c15a7f0ea5deb926eca2261de4953 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Sat, 23 Oct 2010 07:36:17 +0000 Subject: [PATCH] 2010-10-23 09:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/video.c * updated to compile with DJGPP 2.03 --- harbour/ChangeLog | 4 ++++ harbour/contrib/hbct/video.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index bb69aacde4..00ab201eed 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,10 @@ The license applies to all entries newer than 2009-04-28. */ +2010-10-23 09:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/contrib/hbct/video.c + * updated to compile with DJGPP 2.03 + 2010-10-23 09:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/external/zlib/zutil.h * harbour/external/zlib/gzguts.h diff --git a/harbour/contrib/hbct/video.c b/harbour/contrib/hbct/video.c index 1b2773ee42..2cd93df5fe 100644 --- a/harbour/contrib/hbct/video.c +++ b/harbour/contrib/hbct/video.c @@ -192,6 +192,9 @@ HB_FUNC( SETFONT ) height = len / count; #if defined( __DJGPP__ ) +# ifndef __tb_size +# define __tb_size _go32_info_block.size_of_transfer_buffer +# endif { __dpmi_regs r;