mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-31 00:26:48 +00:00
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…
x
Reference in New Issue
Block a user