Don't need to ifdef this out anymore either (nw)

This commit is contained in:
Justin Kerk 2016-03-17 02:04:19 +00:00
parent d0ce8784a7
commit 4cc9dd016a

View File

@ -50,10 +50,6 @@ public:
virtual error read(void *buffer, std::uint64_t offset, std::uint32_t count, std::uint32_t &actual) override
{
#if defined(EMSCRIPTEN)
m_listening = false;
return error::FAILURE; // TODO: work out what it dislikes about emscripten
#else
fd_set readfds;
FD_ZERO(&readfds);
FD_SET(m_sock, &readfds);
@ -107,7 +103,6 @@ public:
{
return error::FAILURE;
}
#endif
}
virtual error write(void const *buffer, std::uint64_t offset, std::uint32_t count, std::uint32_t &actual) override