From: APTX Date: Sat, 22 Jan 2011 19:18:25 +0000 (+0100) Subject: GCC is so bad... X-Git-Url: https://gitweb.tyo.aptx.org/?a=commitdiff_plain;h=231acd13c6824023b478a7a74913e82c87e8e3b8;p=anidbudpclient.git GCC is so bad... --- diff --git a/client.cpp b/client.cpp index 81892ea..4029366 100644 --- a/client.cpp +++ b/client.cpp @@ -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