-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbzip2-1-fixes.patch
50 lines (43 loc) · 1.26 KB
/
bzip2-1-fixes.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
This file is part of MXE. See LICENSE.md for licensing information.
Contains ad hoc patches for cross building.
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tony Theodore <[email protected]>
Date: Sat, 18 Nov 2017 20:31:24 +1100
Subject: [PATCH 1/1] fixes
diff --git a/bzlib.h b/bzlib.h
index 1111111..2222222 100644
--- a/bzlib.h
+++ b/bzlib.h
@@ -75,7 +75,7 @@ typedef
#include <stdio.h>
#endif
-#ifdef _WIN32
+#if 0
# include <windows.h>
# ifdef small
/* windows.h define small to char */
@@ -116,7 +116,7 @@ BZ_EXTERN int BZ_API(BZ2_bzCompressEnd) (
BZ_EXTERN int BZ_API(BZ2_bzDecompressInit) (
bz_stream *strm,
int verbosity,
- int small
+ int small_
);
BZ_EXTERN int BZ_API(BZ2_bzDecompress) (
@@ -140,7 +140,7 @@ BZ_EXTERN BZFILE* BZ_API(BZ2_bzReadOpen) (
int* bzerror,
FILE* f,
int verbosity,
- int small,
+ int small_,
void* unused,
int nUnused
);
@@ -216,7 +216,7 @@ BZ_EXTERN int BZ_API(BZ2_bzBuffToBuffDecompress) (
unsigned int* destLen,
char* source,
unsigned int sourceLen,
- int small,
+ int small_,
int verbosity
);