Commit 0b05bc2e authored by dt's avatar dt
Browse files

Fix compilation for windows.

parent e1ffc900
......@@ -80,7 +80,11 @@ TrkGdbAdapter::TrkGdbAdapter()
m_bufferedMemoryRead = true;
m_rfcommDevice = "/dev/rfcomm0";
#ifdef Q_OS_WIN
int userId = 0;
uid_t userId = getuid();
m_gdbServerName = QString("").arg(2222 + userId);
connect(&m_gdbProc, SIGNAL(readyReadStandardError()),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment