Conditional compilation for functions which are unused on Windows

This commit is contained in:
Robert Loehning
2010-07-12 16:03:20 +02:00
parent d1ff5f9e6d
commit e33b00c9ea
2 changed files with 14 additions and 11 deletions

View File

@@ -206,6 +206,8 @@ void AttachCoreDialog::setCoreFile(const QString &fileName)
//
///////////////////////////////////////////////////////////////////////
#ifndef Q_OS_WIN
static bool isUnixProcessId(const QString &procname)
{
for (int i = 0; i != procname.size(); ++i)
@@ -287,6 +289,7 @@ static QList<ProcData> unixProcessList()
}
return rc;
}
#endif // Q_OS_WIN
static QList<ProcData> processList()
{