summaryrefslogtreecommitdiff
path: root/server/streamdev-server.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/streamdev-server.h')
-rw-r--r--server/streamdev-server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/streamdev-server.h b/server/streamdev-server.h
index 4654e26..18e61c2 100644
--- a/server/streamdev-server.h
+++ b/server/streamdev-server.h
@@ -15,7 +15,11 @@ private:
static cList<cMainThreadHookSubscriber> m_Subscribers;
static cMutex m_Mutex;
public:
+#if APIVERSNUM >= 20300
+ static cList<cMainThreadHookSubscriber>& Subscribers(cMutexLock& Lock);
+#else
static const cList<cMainThreadHookSubscriber>& Subscribers(cMutexLock& Lock);
+#endif
virtual void MainThreadHook() = 0;