mirror of
https://github.com/g4klx/MMDVMHost
synced 2026-02-05 06:05:42 +08:00
OSX build error fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user