From 7b35fe5e7505279fd8754120a08a26d8e6ea8633 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Sun, 16 Dec 2007 14:42:35 +0000 Subject: [PATCH] 2007-12-16 15:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbgtwvg/gtwvg.h * added OleLoadPicture() declaration when BCC5.5 is used. It's missing in BCC55 header files. --- harbour/ChangeLog | 5 +++++ harbour/contrib/hbgtwvg/gtwvg.h | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 810895a0c3..05667179f4 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2002-12-01 13:30 UTC+0100 Foo Bar */ +2007-12-16 15:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/contrib/hbgtwvg/gtwvg.h + * added OleLoadPicture() declaration when BCC5.5 is used. + It's missing in BCC55 header files. + 2007-12-16 15:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/files.c ! fixed pure C compilation I broke in previous commit diff --git a/harbour/contrib/hbgtwvg/gtwvg.h b/harbour/contrib/hbgtwvg/gtwvg.h index f1337955c0..e834bfc203 100644 --- a/harbour/contrib/hbgtwvg/gtwvg.h +++ b/harbour/contrib/hbgtwvg/gtwvg.h @@ -172,6 +172,16 @@ #endif #endif +#if defined(__BORLANDC__) +#if __BORLANDC__ == 0x0550 +#ifdef __cplusplus +extern "C" { STDAPI OleLoadPicture(LPSTREAM,LONG,BOOL,REFIID,PVOID*); } +#else +STDAPI OleLoadPicture(LPSTREAM,LONG,BOOL,REFIID,PVOID*); +#endif +#endif +#endif /* __BORLANDC__ */ + //-------------------------------------------------------------------// typedef BOOL ( WINAPI *wvtGradientFill ) (