diff options
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0c2d694bb..504bd6474 100644 --- a/configure.ac +++ b/configure.ac @@ -195,6 +195,12 @@ AC_ARG_ENABLE(un, [disable support for clients connecting via unix domain sockets (default: enable)]),, [enable_un=yes]) +case "$host_os" in +mingw* | windows*) + enable_un=no + ;; +esac + if test x$enable_un = xyes; then AC_DEFINE(HAVE_UN, 1, [Define if unix domain socket support is enabled]) STRUCT_UCRED |