From 0c739d7bcdbf03957c553a06281c523db92d1728 Mon Sep 17 00:00:00 2001 From: Lailton Date: Mon, 4 Jun 2018 01:36:41 -0300 Subject: [PATCH] Error to build harbour with bcc <= 5.8.2 --- ChangeLog.txt | 4 ++++ contrib/hbexpat/3rd/expat/xmltok.c | 2 +- src/compiler/hbusage.c | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) mode change 100644 => 100755 contrib/hbexpat/3rd/expat/xmltok.c mode change 100644 => 100755 src/compiler/hbusage.c diff --git a/ChangeLog.txt b/ChangeLog.txt index 0baeff30db..1b05385b04 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -7,6 +7,10 @@ Entries may not always be in chronological/commit order. See license at the end of file. */ +2018-06-04 01:30 UTC-0300 Lailton Fernando Mariano (lailton/at/harbour.com.br) + * contrib/hbexpat/3rd/expat/xmltok.c + ! fixed compiler error for BCC <= 5.8.2 + 2018-06-01 00:25 UTC+0300 Phil Krylov (phil a t newstar.rinet.ru) * src/rtl/trim.c ! Fixed HB_SIZE format specifier in HB_TRACE format string. diff --git a/contrib/hbexpat/3rd/expat/xmltok.c b/contrib/hbexpat/3rd/expat/xmltok.c old mode 100644 new mode 100755 index a1f9bde78e..40f0355c2c --- a/contrib/hbexpat/3rd/expat/xmltok.c +++ b/contrib/hbexpat/3rd/expat/xmltok.c @@ -33,7 +33,7 @@ #include #include /* memcpy */ -#if defined(_MSC_VER) && (_MSC_VER <= 1700) +#if ( defined(_MSC_VER) && (_MSC_VER <= 1700) ) || ( defined( __BORLANDC__ ) && __BORLANDC__ <= 0x582 ) /* for vs2012/11.0/1700 and earlier Visual Studio compilers */ # define bool int # define false 0 diff --git a/src/compiler/hbusage.c b/src/compiler/hbusage.c old mode 100644 new mode 100755 index 19167bb0ae..ba9bfbe22d --- a/src/compiler/hbusage.c +++ b/src/compiler/hbusage.c @@ -209,6 +209,7 @@ void hb_compPrintCredits( HB_COMP_DECL ) "Jose Lalin (dezac corevia.com)\n" "Klas Engwall (harbour engwall.com)\n" "Kwon, Oh-Chul (ohchul fivetech.net)\n" + "Lailton Fernando Mariano (lailton harbour.com.br)\n" "Leslee Griffith (les.griffith vantagesystems.ca)\n" "Lorenzo Fiorini (lorenzo.fiorini gmail com)\n" "Luis Krause Mantilla (lkrausem shaw.ca)\n"