From 2017a806561232ea917e2626be5a3f874d75a7da Mon Sep 17 00:00:00 2001
From: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Date: Mon, 6 Aug 2012 15:09:13 +0200
Subject: [PATCH] compile fix

Change-Id: Id64585a55925e5d4b4b6d66b7e41b9d358680a21
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
---
 src/plugins/projectexplorer/devicesupport/localprocesslist.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/plugins/projectexplorer/devicesupport/localprocesslist.cpp b/src/plugins/projectexplorer/devicesupport/localprocesslist.cpp
index 26617272783..0497c6b0c71 100644
--- a/src/plugins/projectexplorer/devicesupport/localprocesslist.cpp
+++ b/src/plugins/projectexplorer/devicesupport/localprocesslist.cpp
@@ -153,6 +153,7 @@ void LocalProcessList::handlePsFinished()
 
 void LocalProcessList::handleWindowsUpdate()
 {
+#ifdef Q_OS_WIN
     QList<DeviceProcess> processes;
 
     PROCESSENTRY32 pe;
@@ -173,6 +174,7 @@ void LocalProcessList::handleWindowsUpdate()
     CloseHandle(snapshot);
 
     reportProcessListUpdated(processes);
+#endif //Q_OS_WIN
 }
 
 void LocalProcessList::handlePsError()
-- 
GitLab