Make compile on MSVC again... that thing doesn't know #warning, apparently -_-
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 1 Sep 2008 23:37:51 +0000 (01:37 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 2 Sep 2008 00:12:44 +0000 (02:12 +0200)
src/core/ircserverhandler.cpp

index 460f10a..5484d3b 100644 (file)
@@ -797,7 +797,9 @@ void IrcServerHandler::handle324(const QString &prefix, const QList<QByteArray>
 void IrcServerHandler::handle329(const QString &prefix, const QList<QByteArray> &params) {
   Q_UNUSED(prefix);
   Q_UNUSED(params)
-#warning "Implement handle329 (Channel creation time)"
+#ifdef __GNUC__
+#  warning "Implement handle329 (Channel creation time)"
+#endif
   // FIXME implement this... 
 }