Fixed a hang on startup under cygwin
This commit is contained in:
parent
4df773d283
commit
a3a8289836
@ -102,7 +102,7 @@ int getRAM()
|
||||
*/
|
||||
int getNumProcessors()
|
||||
{
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) || defined(__CYGWIN__)
|
||||
return sysconf(_SC_NPROCESSORS_CONF);
|
||||
#endif
|
||||
#ifdef WIN32
|
||||
|
Loading…
Reference in New Issue
Block a user