miniupnpc: Fix compile warning: comparison between signed and unsigned
receivedata.c: In function ‘receivedata’: receivedata.c:66: warning: comparison between signed and unsigned Macro ISINVALID needs to be defined via INVALID_SOCKET on all WIN32 targets, not only for MSVC.
This commit is contained in:
parent
d693584fdb
commit
c8883e8491
|
@ -7,7 +7,7 @@
|
|||
#ifndef MINIUPNPC_SOCKETDEF_H_INCLUDED
|
||||
#define MINIUPNPC_SOCKETDEF_H_INCLUDED
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef _WIN32
|
||||
|
||||
#define ISINVALID(s) (INVALID_SOCKET==(s))
|
||||
|
||||
|
|
Loading…
Reference in New Issue