mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 02:34:48 +08:00
remove all offending code, return 1. Will only impact the speed of hardnested execution.
This commit is contained in:
parent
90463cb79f
commit
fe35a972f5
1 changed files with 4 additions and 0 deletions
|
@ -873,11 +873,15 @@ int num_CPUs(void) {
|
|||
count = 1;
|
||||
return count;
|
||||
#elif defined(__APPLE__)
|
||||
/*
|
||||
TODO ICEMAN 2019, its commented out until someone finds a better solution
|
||||
#include "sys/sysctl.h"
|
||||
uint32_t logicalcores = 0;
|
||||
size_t size = sizeof( logicalcores );
|
||||
sysctlbyname( "hw.logicalcpu", &logicalcores, &size, NULL, 0 );
|
||||
return logicalcores;
|
||||
*/
|
||||
return 1;
|
||||
#else
|
||||
return 1;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue