Early return from auth_socket system checks on Windows

No need to run through all system checks, we already know
it is not possible to authenticate with AF_UNIX socket.
This commit is contained in:
Vladislav Vaintroub 2021-09-11 01:33:29 +02:00
commit 54f79a0f7f

View file

@ -14,6 +14,10 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA
IF(WIN32)
RETURN()
ENDIF()
CHECK_CXX_SOURCE_COMPILES(
"#define _GNU_SOURCE
#include <sys/socket.h>