4179
|
1 This file is part of MXE. |
|
2 See index.html for further information. |
|
3 |
|
4 diff -uNr bzip2-1.0.6.orig/bzip2.c bzip2-1.0.6/bzip2.c |
|
5 --- bzip2-1.0.6.orig/bzip2.c 2010-09-11 01:04:53.000000000 +0200 |
|
6 +++ bzip2-1.0.6/bzip2.c 2013-01-30 16:24:00.170396872 +0100 |
|
7 @@ -128,7 +128,7 @@ |
|
8 #if BZ_LCCWIN32 |
|
9 # include <io.h> |
|
10 # include <fcntl.h> |
|
11 -# include <sys\stat.h> |
|
12 +# include <sys/stat.h> |
|
13 |
|
14 # define NORETURN /**/ |
|
15 # define PATH_SEP '\\' |
|
16 diff -uNr bzip2-1.0.6.orig/bzlib.h bzip2-1.0.6/bzlib.h |
|
17 --- bzip2-1.0.6.orig/bzlib.h 2010-09-11 01:08:42.000000000 +0200 |
|
18 +++ bzip2-1.0.6/bzlib.h 2013-01-30 16:22:10.514401460 +0100 |
|
19 @@ -75,7 +75,7 @@ |
|
20 #include <stdio.h> |
|
21 #endif |
|
22 |
|
23 -#ifdef _WIN32 |
|
24 +#if 0 |
|
25 # include <windows.h> |
|
26 # ifdef small |
|
27 /* windows.h define small to char */ |
|
28 @@ -116,7 +116,7 @@ |
|
29 BZ_EXTERN int BZ_API(BZ2_bzDecompressInit) ( |
|
30 bz_stream *strm, |
|
31 int verbosity, |
|
32 - int small |
|
33 + int small_ |
|
34 ); |
|
35 |
|
36 BZ_EXTERN int BZ_API(BZ2_bzDecompress) ( |
|
37 @@ -140,7 +140,7 @@ |
|
38 int* bzerror, |
|
39 FILE* f, |
|
40 int verbosity, |
|
41 - int small, |
|
42 + int small_, |
|
43 void* unused, |
|
44 int nUnused |
|
45 ); |
|
46 @@ -216,7 +216,7 @@ |
|
47 unsigned int* destLen, |
|
48 char* source, |
|
49 unsigned int sourceLen, |
|
50 - int small, |
|
51 + int small_, |
|
52 int verbosity |
|
53 ); |
|
54 |