summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2014-04-25 13:05:43 +0200
committerLuboš Luňák <l.lunak@collabora.com>2014-04-25 14:18:03 +0200
commite809aa1e916e0f6d1a849d0374f59ef9619b1db7 (patch)
tree5973f0096f47f6344c95528d1879b01c463a0519 /vcl
parent474ad6b0e2fb18370be9d228456a2abbfc15bad2 (diff)
fix Qt4 QSocketNotifier configure check
When built as a part of the configure check, this doesn't know SAL_OVERRIDE. Change-Id: I1420dd50efdd6666f246884f286a3f29e0b56a2c
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/kde4/tst_exclude_socket_notifiers.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/unx/kde4/tst_exclude_socket_notifiers.hxx b/vcl/unx/kde4/tst_exclude_socket_notifiers.hxx
index 01f01b97b0a7..297cdf29a6d2 100644
--- a/vcl/unx/kde4/tst_exclude_socket_notifiers.hxx
+++ b/vcl/unx/kde4/tst_exclude_socket_notifiers.hxx
@@ -28,6 +28,11 @@
#include <QtNetwork/qtcpserver.h>
#include <QtNetwork/qtcpsocket.h>
+// This is also used by a configure check.
+#ifndef SAL_OVERRIDE
+#define SAL_OVERRIDE
+#endif
+
class SocketEventsTester: public QObject
{
Q_OBJECT