mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-07 17:37:12 +02:00
Use updated win32 identification.
This commit is contained in:
4
module/Vendor/SimpleSocket/PassiveSocket.cpp
vendored
4
module/Vendor/SimpleSocket/PassiveSocket.cpp
vendored
@ -51,7 +51,7 @@ CPassiveSocket::CPassiveSocket(CSocketType nType) : CSimpleSocket(nType)
|
||||
bool CPassiveSocket::BindMulticast(const char *pInterface, const char *pGroup, uint16 nPort)
|
||||
{
|
||||
bool bRetVal = false;
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
ULONG inAddr;
|
||||
#else
|
||||
in_addr_t inAddr;
|
||||
@ -130,7 +130,7 @@ bool CPassiveSocket::BindMulticast(const char *pInterface, const char *pGroup, u
|
||||
bool CPassiveSocket::Listen(const char *pAddr, uint16 nPort, int32 nConnectionBacklog)
|
||||
{
|
||||
bool bRetVal = false;
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
ULONG inAddr;
|
||||
#else
|
||||
in_addr_t inAddr;
|
||||
|
Reference in New Issue
Block a user