Replaced incorrect #if with #ifdef.

Fixes #2.
This commit is contained in:
2019-08-05 12:34:21 +01:00
parent a426a70dcf
commit 4ce52d4da3

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;