Skip to content

Commit

Permalink
crnlib: g_number_of_processors is defined on every platform
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Jul 21, 2024
1 parent 6f59cc5 commit 461ff37
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions crnlib/crn_lzma_codec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,7 @@ bool lzma_codec::pack(const void* p, uint n, crnlib::vector<uint8>& buf) {
-1, /* 0 <= lp <= 4, default = 0 */
-1, /* 0 <= pb <= 4, default = 2 */
-1, /* 5 <= fb <= 273, default = 32 */
#ifdef WIN32
(g_number_of_processors > 1) ? 2 : 1
#else
1
#endif
);

if (status != SZ_ERROR_OUTPUT_EOF)
Expand Down

0 comments on commit 461ff37

Please sign in to comment.