StelLogger.cpp   StelLogger.cpp 
skipping to change at line 73 skipping to change at line 73
break; break;
case QSysInfo::WV_2003: case QSysInfo::WV_2003:
writeLog("Windows Server 2003"); writeLog("Windows Server 2003");
break; break;
case QSysInfo::WV_VISTA: case QSysInfo::WV_VISTA:
writeLog("Windows Vista"); writeLog("Windows Vista");
break; break;
case QSysInfo::WV_WINDOWS7: case QSysInfo::WV_WINDOWS7:
writeLog("Windows 7"); writeLog("Windows 7");
break; break;
#ifdef WV_WINDOWS8
case QSysInfo::WV_WINDOWS8:
writeLog("Windows 8");
break;
#endif
default: default:
writeLog("Unsupported Windows version"); writeLog("Unsupported Windows version");
break; break;
} }
// somebody writing something useful for Macs would be great here // somebody writing something useful for Macs would be great here
#elif defined Q_OS_MAC #elif defined Q_OS_MAC
switch(QSysInfo::MacintoshVersion) switch(QSysInfo::MacintoshVersion)
{ {
case QSysInfo::MV_10_3: case QSysInfo::MV_10_3:
skipping to change at line 99 skipping to change at line 104
writeLog("Mac OS X 10.5"); writeLog("Mac OS X 10.5");
break; break;
case QSysInfo::MV_10_6: case QSysInfo::MV_10_6:
writeLog("Mac OS X 10.6"); writeLog("Mac OS X 10.6");
break; break;
#ifdef MV_10_7 #ifdef MV_10_7
case QSysInfo::MV_10_7: case QSysInfo::MV_10_7:
writeLog("Mac OS X 10.7"); writeLog("Mac OS X 10.7");
break; break;
#endif #endif
#ifdef MV_10_8
case QSysInfo::MV_10_8:
writeLog("Mac OS X 10.8");
break;
#endif
default: default:
writeLog("Unsupported Mac version"); writeLog("Unsupported Mac version");
break; break;
} }
#elif defined Q_OS_LINUX #elif defined Q_OS_LINUX
QFile procVersion("/proc/version"); QFile procVersion("/proc/version");
if(!procVersion.open(QIODevice::ReadOnly | QIODevice::Text)) if(!procVersion.open(QIODevice::ReadOnly | QIODevice::Text))
writeLog("Unknown Linux version"); writeLog("Unknown Linux version");
else else
 End of changes. 2 change blocks. 
0 lines changed or deleted 10 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/