Replaced QTcpSocket * with a QIODevice * to make network independent unit tests possible.
[contrib/qtwebsockets.git] / src / qwebsocketsglobal.h
index 22b7440..e7eb583 100644 (file)
@@ -1,4 +1,4 @@
-/*!
+/*
 QWebSockets implements the WebSocket protocol as defined in RFC 6455.
 Copyright (C) 2013 Kurt Pattyn (pattyn.kurt@gmail.com)
 
@@ -25,7 +25,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 QT_BEGIN_NAMESPACE
 
 #ifndef QT_STATIC
-#  if defined(QT_BUILD_SERIALPORT_LIB)
+#  if defined(QT_BUILD_WEBSOCKETS_LIB)
 #    define Q_WEBSOCKETS_EXPORT Q_DECL_EXPORT
 #  else
 #    define Q_WEBSOCKETS_EXPORT Q_DECL_IMPORT