summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2014-04-25 13:05:43 +0200
committerChris Sherlock <chris.sherlock79@gmail.com>2014-04-25 22:36:30 +1000
commit05c6a77b601b4adb24a4636d2d3e77e78cfe9fca (patch)
tree9be124066bfb0e92d7132035b69b3831e7fcaf11 /vcl
parentda7167a0e828f1c1079a99c98aa2831327f92674 (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