diff --git a/harbour/ChangeLog b/harbour/ChangeLog index f9c692547b..8e021730c1 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,13 @@ 2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2009-02-23 23:19 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + * contrib/hbgd/gdwrp.c + ! Added required Windows initialization for GD headers. + This become an issue because I've recently removed + windows system headers (which weren't needed for + local code) from this file. + 2009-02-23 22:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * utils/hbmk2/hbmk2.prg + Added -map support for owatcom on all platforms. diff --git a/harbour/contrib/hbgd/gdwrp.c b/harbour/contrib/hbgd/gdwrp.c index 17a1bc1379..a882b428af 100644 --- a/harbour/contrib/hbgd/gdwrp.c +++ b/harbour/contrib/hbgd/gdwrp.c @@ -55,6 +55,12 @@ #include "hbapierr.h" #include "hbapifs.h" +/* NOTE: Do some initialization required by the GD headers. */ +#if defined(HB_OS_WIN) + #define WIN32 + #define BGDWIN32 +#endif + #ifdef HAVE_CONFIG_H #include "config.h" #endif