Avoided SDL macro.
This commit is contained in:
parent
63caf15a2f
commit
46dba2216f
1 changed files with 1 additions and 0 deletions
|
@ -621,6 +621,7 @@ static SOCKET_STATE receive_buf(TCPsocket sock, std::vector<char>& buf)
|
|||
return SOCKET_ERRORED;
|
||||
}
|
||||
|
||||
#undef SDLNet_Read32
|
||||
const int len = SDLNet_Read32(reinterpret_cast<void*>(num_buf));
|
||||
|
||||
if(len < 1 || len > 100000000) {
|
||||
|
|
Loading…
Add table
Reference in a new issue