| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
#include "common.h" |
| 13 |
|
| 14 |
#include "tuklib_cpucores.h" |
| 15 |
|
| 16 |
|
| 17 |
#ifdef HAVE_SYMBOL_VERSIONS_LINUX |
| 18 |
|
| 19 |
|
| 20 |
LZMA_SYMVER_API("lzma_cputhreads@XZ_5.2.2", |
| 21 |
uint32_t, lzma_cputhreads_522)(void) lzma_nothrow |
| 22 |
__attribute__((__alias__("lzma_cputhreads_52"))); |
| 23 |
|
| 24 |
LZMA_SYMVER_API("lzma_cputhreads@@XZ_5.2", |
| 25 |
uint32_t, lzma_cputhreads_52)(void) lzma_nothrow; |
| 26 |
|
| 27 |
#define lzma_cputhreads lzma_cputhreads_52 |
| 28 |
#endif |
| 29 |
extern LZMA_API(uint32_t) |
| 30 |
lzma_cputhreads(void) |
| 31 |
{ |
| 32 |
return tuklib_cpucores(); |
| 33 |
} |