diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-02-06 16:49:24 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-02-06 16:49:24 +0000 |
| commit | 5f0f8e68b29e6f446787c31e3241550bb5f49ca4 (patch) | |
| tree | 7b3cc0ae4332a121c3e80a0d6f6ca87c11b1109a /src/SocketCore.cc | |
| parent | 0640ea62541f92730ed997fd74275c24554e1de3 (diff) | |
2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed compile error when HAVE_EPOLL is not defined.
Fixed linker error on bigendian systems.
* src/SocketCore.cc
* src/SocketCore.h
* test/DefaultBtProgressInfoFileTest.cc
Diffstat (limited to 'src/SocketCore.cc')
| -rw-r--r-- | src/SocketCore.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SocketCore.cc b/src/SocketCore.cc index 29361ec8..e01f5af6 100644 --- a/src/SocketCore.cc +++ b/src/SocketCore.cc @@ -1062,11 +1062,11 @@ void SocketCore::useEpoll() { _pollMethod = SocketCore::POLL_METHOD_EPOLL; } +#endif // HAVE_EPOLL void SocketCore::useSelect() { _pollMethod = SocketCore::POLL_METHOD_SELECT; } -#endif // HAVE_EPOLL } // namespace aria2 |
