diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-04-08 00:50:25 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-04-08 00:50:25 +0900 |
| commit | fcbdecfd1e6aaa92cb1769ed1d395d59648ad5a6 (patch) | |
| tree | 02c3b64685c6415e69f4684742753b947b575837 /src/Notifier.cc | |
| parent | 7bc2a14d9f2f16bca991ecf22507b7ef0e8f4d6a (diff) | |
Conditional compile for WebSocket.
WebSocket support depends on Message Digest support.
Diffstat (limited to 'src/Notifier.cc')
| -rw-r--r-- | src/Notifier.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Notifier.cc b/src/Notifier.cc index 9375c40d..6d843340 100644 --- a/src/Notifier.cc +++ b/src/Notifier.cc @@ -34,8 +34,12 @@ /* copyright --> */ #include "Notifier.h" #include "RequestGroup.h" -#include "WebSocketSessionMan.h" #include "LogFactory.h" +#ifdef ENABLE_WEBSOCKET +# include "WebSocketSessionMan.h" +#else // !ENABLE_WEBSOCKET +# include "NullWebSocketSessionMan.h" +#endif // !ENABLE_WEBSOCKET namespace aria2 { |
