mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
12 lines
381 B
C++
12 lines
381 B
C++
#pragma once
|
|
|
|
#include <QLocalSocket>
|
|
|
|
namespace znc_inttest_cygwin {
|
|
// Qt uses non-blocking sockets for unix sockets, but cygwin emulates them via
|
|
// AF_INET sockets, so connect() fails. This function connects the socket by
|
|
// reaching into private parts of QLocalSocket, and sets it non-blocking only
|
|
// after connect().
|
|
void CygwinWorkaroundLocalConnect(QLocalSocket& sock);
|
|
}
|