* external/bzip2/Makefile
* external/bzip2/bzip2.dif
* external/bzip2/bzip2.c
+ Added patch to make it compile on dos and os2/watcom.
Thanks to Przemek.
22 lines
564 B
Plaintext
22 lines
564 B
Plaintext
--- ori_src\bzip2.c Sun Dec 09 04:22:12 2007
|
|
+++ bzip2.c Mon Mar 15 21:30:03 2010
|
|
@@ -34,7 +34,8 @@
|
|
--*/
|
|
#define BZ_LCCWIN32 0
|
|
|
|
-#if defined(_WIN32) && !defined(__CYGWIN__)
|
|
+#if ( defined(_WIN32) && !defined(__CYGWIN__) ) || \
|
|
+ ( defined(__WATCOMC__) && ( defined(__OS2__) || defined(__DOS__) ) )
|
|
#undef BZ_LCCWIN32
|
|
#define BZ_LCCWIN32 1
|
|
#undef BZ_UNIX
|
|
@@ -128,7 +129,7 @@
|
|
#if BZ_LCCWIN32
|
|
# include <io.h>
|
|
# include <fcntl.h>
|
|
-# include <sys\stat.h>
|
|
+# include <sys/stat.h>
|
|
|
|
# define NORETURN /**/
|
|
# define PATH_SEP '\\'
|