summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugin/auth_socket/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/auth_socket/CMakeLists.txt b/plugin/auth_socket/CMakeLists.txt
index 7f44b3ff37a..83e0b86d8cb 100644
--- a/plugin/auth_socket/CMakeLists.txt
+++ b/plugin/auth_socket/CMakeLists.txt
@@ -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>