Skip to content

Commit 461ff37

Browse files
committed
crnlib: g_number_of_processors is defined on every platform
1 parent 6f59cc5 commit 461ff37

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crnlib/crn_lzma_codec.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,7 @@ bool lzma_codec::pack(const void* p, uint n, crnlib::vector<uint8>& buf) {
4949
-1, /* 0 <= lp <= 4, default = 0 */
5050
-1, /* 0 <= pb <= 4, default = 2 */
5151
-1, /* 5 <= fb <= 273, default = 32 */
52-
#ifdef WIN32
5352
(g_number_of_processors > 1) ? 2 : 1
54-
#else
55-
1
56-
#endif
5753
);
5854

5955
if (status != SZ_ERROR_OUTPUT_EOF)

0 commit comments

Comments
 (0)