Replaced incorrect #if with #ifdef.

Fixes #2.
This commit is contained in:
2019-08-05 12:34:21 +01:00
parent 0523b49c72
commit f3fa1d29ba

2
IO.cpp
View File

@@ -133,7 +133,7 @@ vector<uint8_t>& getBuffer()
else if (errno != EAGAIN && errno != EWOULDBLOCK) //Expect read would block else if (errno != EAGAIN && errno != EWOULDBLOCK) //Expect read would block
{ {
ERR(); ERR();
#if DEBUG_MSGS #ifdef DEBUG_MSGS
cerr << "Unknown stream error: " << errno << endl; cerr << "Unknown stream error: " << errno << endl;
#endif #endif
break; break;