summaryrefslogtreecommitdiff
path: root/src/socket/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket/unix.c')
-rw-r--r--src/socket/unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/socket/unix.c b/src/socket/unix.c
index 158d319..048630f 100644
--- a/src/socket/unix.c
+++ b/src/socket/unix.c
@@ -1,3 +1,4 @@
+#ifndef WIN
/*=========================================================================*\
* Unix domain socket
* LuaSocket toolkit
@@ -354,3 +355,4 @@ static int global_create(lua_State *L) {
return 2;
}
}
+#endif