Fix building with clang 8.0 (#4346)
This commit is contained in:
@@ -26,8 +26,8 @@ Unfortunately it is very slow, so it is disabled even for regular DEBUG builds.
|
||||
// If a string sent over the protocol is larger than this, a warning is emitted to the console
|
||||
#define MAX_STRING_SIZE (512 KiB)
|
||||
|
||||
#define NEEDBYTES(Num) if (!CanReadBytes(Num)) return false; // Check if at least Num bytes can be read from the buffer, return false if not
|
||||
#define PUTBYTES(Num) if (!CanWriteBytes(Num)) return false; // Check if at least Num bytes can be written to the buffer, return false if not
|
||||
#define NEEDBYTES(Num) if (!CanReadBytes(Num)) return false // Check if at least Num bytes can be read from the buffer, return false if not
|
||||
#define PUTBYTES(Num) if (!CanWriteBytes(Num)) return false // Check if at least Num bytes can be written to the buffer, return false if not
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user