diff --git a/Source/7zip/LZMADecode.h b/Source/7zip/LZMADecode.h index c2a3d4f9..fd87af70 100644 --- a/Source/7zip/LZMADecode.h +++ b/Source/7zip/LZMADecode.h @@ -23,14 +23,15 @@ ***********************/ #include "../Platform.h" -#include "../exehead/util.h" /* #define _LZMA_PROB32 */ /* It can increase speed on some 32-bit CPUs, but memory usage will be doubled in that case */ -#define lzmaalloc(bytes) GlobalAlloc(GPTR,bytes) -#define lzmafree GlobalFree +#ifdef _WIN32 +# define lzmaalloc(bytes) GlobalAlloc(GPTR,bytes) +# define lzmafree GlobalFree +#endif /*********************** * Configuration End * diff --git a/Source/bzip2/bzlib.h b/Source/bzip2/bzlib.h index 0270f33b..c5a5c379 100644 --- a/Source/bzip2/bzlib.h +++ b/Source/bzip2/bzlib.h @@ -257,8 +257,6 @@ extern void BZ2_hbMakeCodeLengths ( UChar*, Int32*, Int32, Int32 ); #else//EXEHEAD -#include "../exehead/util.h" - /*-- states for decompression. --*/ #define BZ_X_IDLE 1