buid: replace NIH SYSAPI_WIN32 with Q_OS_WIN
This commit is contained in:
committed by
Chris Rizzitello
parent
fce1a37e97
commit
f2a54f4af0
@ -658,7 +658,7 @@ ISocketMultiplexerJob *SecureSocket::serviceConnect(ISocketMultiplexerJob *const
|
||||
Lock lock(&getMutex());
|
||||
|
||||
int status = 0;
|
||||
#ifdef SYSAPI_WIN32
|
||||
#if defined(Q_OS_WIN)
|
||||
status = secureConnect(static_cast<int>(getSocket()->m_socket));
|
||||
#else
|
||||
status = secureConnect(getSocket()->m_fd);
|
||||
@ -686,7 +686,7 @@ ISocketMultiplexerJob *SecureSocket::serviceAccept(ISocketMultiplexerJob *const,
|
||||
Lock lock(&getMutex());
|
||||
|
||||
int status = 0;
|
||||
#ifdef SYSAPI_WIN32
|
||||
#if defined(Q_OS_WIN)
|
||||
status = secureAccept(static_cast<int>(getSocket()->m_socket));
|
||||
#else
|
||||
status = secureAccept(getSocket()->m_fd);
|
||||
|
||||
Reference in New Issue
Block a user