]> Some of my projects - anidbudpclient.git/commitdiff
GCC is so bad...
authorAPTX <marek321@gmail.com>
Sat, 22 Jan 2011 19:18:25 +0000 (20:18 +0100)
committerAPTX <marek321@gmail.com>
Sat, 22 Jan 2011 19:18:25 +0000 (20:18 +0100)
client.cpp

index 81892eaffbf6e7c3fb63ae444f827ac746ac32ec..40293666866cc223230c5bc7cd4e902c603eb54f 100644 (file)
@@ -931,7 +931,9 @@ qDebug() << QString("Generated id %1").arg(result.constData());
 
 Client *Client::m_instance = 0;
 
-// TODO, figure out why GCC can't export it like it could before, and if this works in other compilers.
+// TODO, figure out why GCC can't export it like it could before, because this doesn't work in other compilers.
+#ifdef Q_OS_UNIX
 const int Client::UDP_API_COMMAND_TIMEOUT;
+#endif
 
 } // namespace AniDBUdpClient