Fixed a hang on startup under cygwin

This commit is contained in:
deve 2017-03-22 13:17:04 +01:00
parent 4df773d283
commit a3a8289836

View File

@ -102,7 +102,7 @@ int getRAM()
*/
int getNumProcessors()
{
#ifdef __linux__
#if defined(__linux__) || defined(__CYGWIN__)
return sysconf(_SC_NPROCESSORS_CONF);
#endif
#ifdef WIN32