remove all offending code,  return 1.   Will only impact the speed of hardnested execution.
This commit is contained in:
iceman1001 2019-04-25 16:08:08 +02:00
parent 90463cb79f
commit fe35a972f5

View file

@ -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