On Mon, 15 Mar 2010, vszak...@users.sourceforge.net wrote:

Hi,

> -----------
> 2010-03-15 16:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
>   + external/bzip2/bzip2.dif
>     + Added .dif file.

What about enabling BZIP2 compilation in DOS and OS2 builds?
This code can be compiled as is by DJGPP and this small patch

   --- harbour/external/bzip2/bzip2.c   (wersja 14171)
   +++ harbour/external/bzip2/bzip2.c   (kopia robocza)
   @@ -34,7 +34,8 @@
    --*/
    #define BZ_LCCWIN32  0

   -#if defined(_WIN32) && !defined(__CYGWIN__)
   +#if ( defined(_WIN32) && !defined(__CYGWIN__) ) || \
   +    ( defined(__WATCOMC__) && ( defined(__OS2__) || defined(__DOS__) ) )

fixes compilation with OpenWatcom for DOS and OS2.
Probably support for OS2 GCC will also need only such cosmetic
modifications or maybe it even works out of the box.

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to