Skip to content

Commit 54f79a0

Browse files
committed
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.
1 parent 8ada144 commit 54f79a0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugin/auth_socket/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
# along with this program; if not, write to the Free Software
1515
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA
1616

17+
IF(WIN32)
18+
RETURN()
19+
ENDIF()
20+
1721
CHECK_CXX_SOURCE_COMPILES(
1822
"#define _GNU_SOURCE
1923
#include <sys/socket.h>

0 commit comments

Comments
 (0)