OSX build error fixes

This commit is contained in:
Home
2021-08-13 15:00:17 -04:00
parent 14bf5007d5
commit 03a4837227
5 changed files with 23 additions and 3 deletions

View File

@@ -35,6 +35,10 @@ public:
virtual int write(const unsigned char* buffer, unsigned int length);
virtual void close();
#if defined(__APPLE__)
int setNonblock(bool nonblock) { return 0; }
#endif
private:
CRingBuffer<unsigned char> m_buffer;