diff --git a/ChangeLog.txt b/ChangeLog.txt index c9987aca55..dd5090adbc 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,11 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2014-06-27 14:53 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * contrib/hbwin/olecore.c + * added workaround for missing DISP_E_BUFFERTOOSMALL declaration + in some older C compilers i.e. BCC 5.5 + 2014-06-27 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbfopen.c * use _wfopen() instead of fopen() in MS-Windows UNICODE builds of diff --git a/contrib/hbwin/olecore.c b/contrib/hbwin/olecore.c index 415ff3dfa4..38547c626e 100644 --- a/contrib/hbwin/olecore.c +++ b/contrib/hbwin/olecore.c @@ -1659,6 +1659,9 @@ HB_FUNC( WIN_OLEERROR ) } +#ifndef DISP_E_BUFFERTOOSMALL + #define DISP_E_BUFFERTOOSMALL 0x80020013L +#endif HB_FUNC( WIN_OLEERRORTEXT ) { HRESULT lOleError;