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.
All the better. I will make above modifications, but it will enable bzip2 also for os2/gcc, so it will fail unless necessary patches are added for this target. Brgds, Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour