summaryrefslogtreecommitdiff
path: root/src/socket/unix.c
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-05-04 23:19:23 (GMT)
committer jacob1 <jfu614@gmail.com>2013-05-04 23:19:23 (GMT)
commita4e75d587fb6a256da5584328b3dd84a185b5640 (patch)
tree0df2b0aa7b090259665b4d58a3a2e8c0ab2c8c17 /src/socket/unix.c
parent73fe68a3eb336bac2b76c70ec659bb0fd10df8c1 (diff)
downloadpowder-a4e75d587fb6a256da5584328b3dd84a185b5640.zip
powder-a4e75d587fb6a256da5584328b3dd84a185b5640.tar.gz
add #ifdef WIN / #idndef WIN around some lua socket files, for easier visual studio compatibility
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