diff --git a/src/StelLogger.cpp b/src/StelLogger.cpp index 5a5ea256f6bfd..04fce999ac828 100644 --- a/src/StelLogger.cpp +++ b/src/StelLogger.cpp @@ -336,7 +336,7 @@ void StelLogger::init(const QString& logFilePath) #ifdef Q_OS_SOLARIS processor_info_t pinfo; processor_info(0, &pinfo); - writeLog(QString("Processor name: %1").arg(pinfo.pi_processor_type)); + //writeLog(QString("Processor name: %1").arg(pinfo.pi_processor_type)); writeLog(QString("Processor speed: %1 MHz").arg(pinfo.pi_clock)); int ncpu = sysconf( _SC_NPROCESSORS_ONLN ); diff --git a/src/core/StelUtils.cpp b/src/core/StelUtils.cpp index 3d6f965bfaa15..0fcf6f80bc8b8 100644 --- a/src/core/StelUtils.cpp +++ b/src/core/StelUtils.cpp @@ -37,7 +37,7 @@ #include #endif -#if defined Q_OS_BSD4 || defined Q_OS_HAIKU && !defined Q_OS_MACOS +#if defined Q_OS_BSD4 || defined Q_OS_HAIKU || defined Q_OS_SOLARIS && !defined Q_OS_MACOS #include #endif @@ -81,7 +81,7 @@ QString getOperatingSystemInfo() { QString OS = QSysInfo::prettyProductName(); - #if defined Q_OS_BSD4 || defined Q_OS_HAIKU && !defined Q_OS_MACOS + #if defined Q_OS_BSD4 || defined Q_OS_HAIKU || defined Q_OS_SOLARIS && !defined Q_OS_MACOS struct utsname buff; if (uname(&buff) != -1) OS = QString("%1 %2").arg(buff.sysname, buff.release);