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 2001From: Tony Theodore <tonyt@logyst.com>Date: Sat, 18 Nov 2017 20:31:24 +1100Subject: [PATCH 1/1] fixesdiff --git a/bzlib.h b/bzlib.hindex 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 );
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 <tonyt@logyst.com>
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
);