mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-09 12:07:07 -06:00
9.17
This commit is contained in:
committed by
Kornel Lesiński
parent
044e4bb741
commit
2eb60a0598
@@ -9,8 +9,10 @@
|
||||
|
||||
#include "DeflateEncoder.h"
|
||||
|
||||
#if _MSC_VER >= 1300
|
||||
#define NO_INLINE __declspec(noinline)
|
||||
#undef NO_INLINE
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define NO_INLINE MY_NO_INLINE
|
||||
#else
|
||||
#define NO_INLINE
|
||||
#endif
|
||||
@@ -580,7 +582,7 @@ NO_INLINE UInt32 Huffman_GetPrice(const UInt32 *freqs, const Byte *lens, UInt32
|
||||
for (i = 0; i < num; i++)
|
||||
price += lens[i] * freqs[i];
|
||||
return price;
|
||||
};
|
||||
}
|
||||
|
||||
NO_INLINE UInt32 Huffman_GetPrice_Spec(const UInt32 *freqs, const Byte *lens, UInt32 num, const Byte *extraBits, UInt32 extraBase)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user